|
35 | 35 | //--------------------------------------------------------------------------------- |
36 | 36 | // Definitions |
37 | 37 | //--------------------------------------------------------------------------------- |
38 | | -#define PYLIB_NAME_WIN32_RELEASE "Python3/plat-win/python35.dll" |
39 | | -#define PYLIB_NAME_WIN32_DEBUG "Python3/plat-win/python35_d.dll" |
40 | | -#define PYLIB_NAME_LINUX_RELEASE "Python3/plat-linux/libpython3.5m.so.1.0" |
41 | | -#define PYLIB_NAME_LINUX_DEBUG "Python3/plat-linux/libpython3.5dm.so.1.0" |
| 38 | +#define PYLIB_NAME_WIN32 "Python3/plat-win/python35.dll" |
| 39 | +#define PYLIB_NAME_LINUX "Python3/plat-linux/libpython3.5m.so.1.0" |
42 | 40 |
|
43 | | -#define CORE_NAME_WIN32 "bin/core.dll" |
44 | | -#define CORE_NAME_LINUX "bin/core.so" |
| 41 | +#define CORE_NAME_WIN32 "bin/core.dll" |
| 42 | +#define CORE_NAME_LINUX "bin/core.so" |
45 | 43 |
|
46 | 44 | #if defined(_WIN32) |
47 | 45 | # define CORE_NAME CORE_NAME_WIN32 |
48 | 46 | #else |
49 | 47 | # define CORE_NAME CORE_NAME_LINUX |
50 | 48 | #endif |
51 | 49 |
|
52 | | -#if defined(_WIN32) && defined(DEBUG) |
53 | | -# define PYLIB_NAME PYLIB_NAME_WIN32_DEBUG |
54 | | -# define MSVCRT_LIB "Python3/plat-win/msvcr100d.dll" |
55 | | -# define MSVCP_LIB "Python3/plat-win/msvcp100d.dll" |
56 | | -#elif defined(_WIN32) && !defined(DEBUG) |
57 | | -# define PYLIB_NAME PYLIB_NAME_WIN32_RELEASE |
58 | | -# define MSVCRT_LIB "Python3/plat-win/msvcr100.dll" |
59 | | -# define MSVCP_LIB "Python3/plat-win/msvcp100.dll" |
60 | | -#elif defined(LINUX) && defined(DEBUG) |
61 | | -# define PYLIB_NAME PYLIB_NAME_LINUX_DEBUG |
62 | | -#elif defined(LINUX) && !defined(DEBUG) |
63 | | -# define PYLIB_NAME PYLIB_NAME_LINUX_RELEASE |
| 50 | +#if defined(_WIN32) |
| 51 | +# define PYLIB_NAME PYLIB_NAME_WIN32 |
| 52 | +# define VCRUNTIME_LIB "Python3/plat-win/vcruntime140.dll" |
| 53 | +#elif defined(LINUX) |
| 54 | +# define PYLIB_NAME PYLIB_NAME_LINUX |
64 | 55 | #endif |
65 | 56 |
|
66 | 57 | #define MAX_PATH_LENGTH 1024 |
|
0 commit comments