Updated the python patch with more include/lib dirs.

This allows building of extra modules like curses and bz2.
This commit is contained in:
Chris Roberts
2009-11-24 03:52:41 +00:00
parent 1640ba2d3e
commit c72429d52c

View File

@@ -518,8 +518,8 @@ diff -ruN Python-2.6.4/setup.py Python-2.6.4-haiku/setup.py
inc_dirs += os.getenv('C_INCLUDE_PATH', '').split(os.pathsep)
+ if platform == 'haiku1':
+ inc_dirs += ['/boot/develop/headers/posix', '/boot/develop/headers/3rdparty']
+ lib_dirs += ['/boot/system/lib']
+ inc_dirs += ['/boot/develop/headers/posix', '/boot/develop/headers/3rdparty', '/boot/common/include']
+ lib_dirs += ['/boot/system/lib', '/boot/develop/lib/x86', '/boot/common/lib']
+
# OSF/1 and Unixware have some stuff in /usr/ccs/lib (like -ldb)
if platform in ['osf1', 'unixware7', 'openunix8']: