another python path fix, build python3 as tar.bz2 package

This commit is contained in:
Jaroslav Kysela
2016-02-25 16:58:23 +01:00
parent 511b99c0d8
commit 2a3e6b7add
2 changed files with 43 additions and 22 deletions

View File

@@ -0,0 +1,14 @@
--- Modules/getpath.c.orig 2016-02-25 11:41:17.657268420 +0100
+++ Modules/getpath.c 2016-02-25 11:44:15.926441656 +0100
@@ -122,6 +122,11 @@
EXEC_PREFIX "/lib/python" VERSION "/lib-dynload"
#endif
+#undef PREFIX
+#undef PYTHONPATH
+#define PREFIX "/usr"
+#define PYTHONPATH "/usr/lib/python" VERSION ":/usr/local/lib/python" VERSION
+
#ifndef LANDMARK
#define LANDMARK L"os.py"
#endif