diff options
Diffstat (limited to 'Modules/main.c')
-rw-r--r-- | Modules/main.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/Modules/main.c b/Modules/main.c index b36714c..9ce8bef 100644 --- a/Modules/main.c +++ b/Modules/main.c @@ -8,11 +8,15 @@ #include <fcntl.h> #endif -#if defined(PYOS_OS2) || defined(MS_WINDOWS) +#if (defined(PYOS_OS2) && !defined(PYCC_GCC)) || defined(MS_WINDOWS) #define PYTHONHOMEHELP "<prefix>\\lib" #else +#if defined(PYOS_OS2) && defined(PYCC_GCC) +#define PYTHONHOMEHELP "<prefix>/Lib" +#else #define PYTHONHOMEHELP "<prefix>/pythonX.X" #endif +#endif #include "pygetopt.h" |