- Timestamp:
- Sep 14, 2010, 1:16:59 PM (15 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/trunk/Modules/getpath.c
r10 r20 126 126 // ";./Lib/lib-dynload;./Lib/site-packages" 127 127 // force unixroot 128 #define PYTHONPATH PREFIX "/lib/python" VERSION " ;" \129 EXEC_PREFIX "/lib/python" VERSION "/lib-" PLATFORM " ;" \130 EXEC_PREFIX "/lib/python" VERSION "/site-packages" " ;" \131 EXEC_PREFIX "/lib/python" VERSION "/lib-dynload" " ;" \128 #define PYTHONPATH PREFIX "/lib/python" VERSION ":" \ 129 EXEC_PREFIX "/lib/python" VERSION "/lib-" PLATFORM ":" \ 130 EXEC_PREFIX "/lib/python" VERSION "/site-packages" ":" \ 131 EXEC_PREFIX "/lib/python" VERSION "/lib-dynload" ":" \ 132 132 /* now local (for building) */ \ 133 "./lib" " ;" \134 "./lib/plat-" PLATFORM " ;" \135 "./lib/site-packages" " ;" \133 "./lib" ":" \ 134 "./lib/plat-" PLATFORM ":" \ 135 "./lib/site-packages" ":" \ 136 136 "./lib/lib-dynload" 137 137 #endif … … 660 660 * return the compiled-in defaults instead. 661 661 */ 662 #ifndef __KLIBC__ // YD force hardcoded build prefix 662 663 if (pfound > 0) { 663 664 reduce(prefix); … … 669 670 } 670 671 else 672 #endif 671 673 strncpy(prefix, PREFIX, MAXPATHLEN); 672 674 675 #ifndef __KLIBC__ // YD force hardcoded build exec_prefix 673 676 if (efound > 0) { 674 677 reduce(exec_prefix); … … 679 682 } 680 683 else 684 #endif 681 685 strncpy(exec_prefix, EXEC_PREFIX, MAXPATHLEN); 682 686 }
Note:
See TracChangeset
for help on using the changeset viewer.