Lines 24-30
Link Here
|
24 |
#include "config.h" |
24 |
#include "config.h" |
25 |
#endif |
25 |
#endif |
26 |
#if (defined USE_EXTERNAL_PYTHON) |
26 |
#if (defined USE_EXTERNAL_PYTHON) |
27 |
#if (defined HAVE_LIBPYTHON2_6) |
27 |
#if (defined HAVE_LIBPYTHON2_7) |
|
|
28 |
#include <python2.7/Python.h> |
29 |
#elif (defined HAVE_LIBPYTHON2_6) |
28 |
#include <python2.6/Python.h> |
30 |
#include <python2.6/Python.h> |
29 |
#elif (defined HAVE_LIBPYTHON2_5) |
31 |
#elif (defined HAVE_LIBPYTHON2_5) |
30 |
#include <python2.5/Python.h> |
32 |
#include <python2.5/Python.h> |
Lines 61-67
XBPython g_pythonParser;
Link Here
|
61 |
#define PYTHON_DLL "special://xbmcbin/system/python/python24-x86-osx.so" |
63 |
#define PYTHON_DLL "special://xbmcbin/system/python/python24-x86-osx.so" |
62 |
#endif |
64 |
#endif |
63 |
#elif defined(__x86_64__) |
65 |
#elif defined(__x86_64__) |
64 |
#if (defined HAVE_LIBPYTHON2_6) |
66 |
#if (defined HAVE_LIBPYTHON2_7) |
|
|
67 |
#define PYTHON_DLL "special://xbmcbin/system/python/python27-x86_64-linux.so" |
68 |
#elif (defined HAVE_LIBPYTHON2_6) |
65 |
#define PYTHON_DLL "special://xbmcbin/system/python/python26-x86_64-linux.so" |
69 |
#define PYTHON_DLL "special://xbmcbin/system/python/python26-x86_64-linux.so" |
66 |
#elif (defined HAVE_LIBPYTHON2_5) |
70 |
#elif (defined HAVE_LIBPYTHON2_5) |
67 |
#define PYTHON_DLL "special://xbmcbin/system/python/python25-x86_64-linux.so" |
71 |
#define PYTHON_DLL "special://xbmcbin/system/python/python25-x86_64-linux.so" |
Lines 69-75
XBPython g_pythonParser;
Link Here
|
69 |
#define PYTHON_DLL "special://xbmcbin/system/python/python24-x86_64-linux.so" |
73 |
#define PYTHON_DLL "special://xbmcbin/system/python/python24-x86_64-linux.so" |
70 |
#endif |
74 |
#endif |
71 |
#elif defined(_POWERPC) |
75 |
#elif defined(_POWERPC) |
72 |
#if (defined HAVE_LIBPYTHON2_6) |
76 |
#if (defined HAVE_LIBPYTHON2_7) |
|
|
77 |
#define PYTHON_DLL "special://xbmcbin/system/python/python27-powerpc-linux.so" |
78 |
#elif (defined HAVE_LIBPYTHON2_6) |
73 |
#define PYTHON_DLL "special://xbmcbin/system/python/python26-powerpc-linux.so" |
79 |
#define PYTHON_DLL "special://xbmcbin/system/python/python26-powerpc-linux.so" |
74 |
#elif (defined HAVE_LIBPYTHON2_5) |
80 |
#elif (defined HAVE_LIBPYTHON2_5) |
75 |
#define PYTHON_DLL "special://xbmcbin/system/python/python25-powerpc-linux.so" |
81 |
#define PYTHON_DLL "special://xbmcbin/system/python/python25-powerpc-linux.so" |
Lines 77-83
XBPython g_pythonParser;
Link Here
|
77 |
#define PYTHON_DLL "special://xbmcbin/system/python/python24-powerpc-linux.so" |
83 |
#define PYTHON_DLL "special://xbmcbin/system/python/python24-powerpc-linux.so" |
78 |
#endif |
84 |
#endif |
79 |
#elif defined(_POWERPC64) |
85 |
#elif defined(_POWERPC64) |
80 |
#if (defined HAVE_LIBPYTHON2_6) |
86 |
#if (defined HAVE_LIBPYTHON2_7) |
|
|
87 |
#define PYTHON_DLL "special://xbmcbin/system/python/python27-powerpc64-linux.so" |
88 |
#elif (defined HAVE_LIBPYTHON2_6) |
81 |
#define PYTHON_DLL "special://xbmcbin/system/python/python26-powerpc64-linux.so" |
89 |
#define PYTHON_DLL "special://xbmcbin/system/python/python26-powerpc64-linux.so" |
82 |
#elif (defined HAVE_LIBPYTHON2_5) |
90 |
#elif (defined HAVE_LIBPYTHON2_5) |
83 |
#define PYTHON_DLL "special://xbmcbin/system/python/python25-powerpc64-linux.so" |
91 |
#define PYTHON_DLL "special://xbmcbin/system/python/python25-powerpc64-linux.so" |
Lines 85-91
XBPython g_pythonParser;
Link Here
|
85 |
#define PYTHON_DLL "special://xbmcbin/system/python/python24-powerpc64-linux.so" |
93 |
#define PYTHON_DLL "special://xbmcbin/system/python/python24-powerpc64-linux.so" |
86 |
#endif |
94 |
#endif |
87 |
#elif defined(_ARMEL) |
95 |
#elif defined(_ARMEL) |
88 |
#if (defined HAVE_LIBPYTHON2_6) |
96 |
#if (defined HAVE_LIBPYTHON2_7) |
|
|
97 |
#define PYTHON_DLL "special://xbmc/system/python/python27-arm.so" |
98 |
#elif (defined HAVE_LIBPYTHON2_6) |
89 |
#define PYTHON_DLL "special://xbmc/system/python/python26-arm.so" |
99 |
#define PYTHON_DLL "special://xbmc/system/python/python26-arm.so" |
90 |
#elif (defined HAVE_LIBPYTHON2_5) |
100 |
#elif (defined HAVE_LIBPYTHON2_5) |
91 |
#define PYTHON_DLL "special://xbmc/system/python/python25-arm.so" |
101 |
#define PYTHON_DLL "special://xbmc/system/python/python25-arm.so" |
Lines 93-99
XBPython g_pythonParser;
Link Here
|
93 |
#define PYTHON_DLL "special://xbmc/system/python/python24-arm.so" |
103 |
#define PYTHON_DLL "special://xbmc/system/python/python24-arm.so" |
94 |
#endif |
104 |
#endif |
95 |
#else /* !__x86_64__ && !__powerpc__ */ |
105 |
#else /* !__x86_64__ && !__powerpc__ */ |
96 |
#if (defined HAVE_LIBPYTHON2_6) |
106 |
#if (defined HAVE_LIBPYTHON2_7) |
|
|
107 |
#define PYTHON_DLL "special://xbmcbin/system/python/python27-i486-linux.so" |
108 |
#elif (defined HAVE_LIBPYTHON2_6) |
97 |
#define PYTHON_DLL "special://xbmcbin/system/python/python26-i486-linux.so" |
109 |
#define PYTHON_DLL "special://xbmcbin/system/python/python26-i486-linux.so" |
98 |
#elif (defined HAVE_LIBPYTHON2_5) |
110 |
#elif (defined HAVE_LIBPYTHON2_5) |
99 |
#define PYTHON_DLL "special://xbmcbin/system/python/python25-i486-linux.so" |
111 |
#define PYTHON_DLL "special://xbmcbin/system/python/python25-i486-linux.so" |