about summary refs log tree commit diff
path: root/nixpkgs/pkgs/development/interpreters/python/cpython/2.7/search-path.patch
blob: 2e7b7526c0cea13cf39742d2548e53ceebb2ee5b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
diff -rc Python-2.4.4-orig/setup.py Python-2.4.4/setup.py
*** Python-2.4.4-orig/setup.py	2006-10-08 19:41:25.000000000 +0200
--- Python-2.4.4/setup.py	2007-05-27 16:04:54.000000000 +0200
***************
*** 279,288 ****
          # Check for AtheOS which has libraries in non-standard locations
          if platform == 'atheos':
              lib_dirs += ['/system/libs', '/atheos/autolnk/lib']
-             lib_dirs += os.getenv('LIBRARY_PATH', '').split(os.pathsep)
              inc_dirs += ['/system/include', '/atheos/autolnk/include']
-             inc_dirs += os.getenv('C_INCLUDE_PATH', '').split(os.pathsep)
  
          # OSF/1 and Unixware have some stuff in /usr/ccs/lib (like -ldb)
          if platform in ['osf1', 'unixware7', 'openunix8']:
              lib_dirs += ['/usr/ccs/lib']
--- 279,289 ----
          # Check for AtheOS which has libraries in non-standard locations
          if platform == 'atheos':
              lib_dirs += ['/system/libs', '/atheos/autolnk/lib']
              inc_dirs += ['/system/include', '/atheos/autolnk/include']
  
+         lib_dirs += os.getenv('LIBRARY_PATH', '').split(os.pathsep)
+         inc_dirs += os.getenv('C_INCLUDE_PATH', '').split(os.pathsep)
+         
          # OSF/1 and Unixware have some stuff in /usr/ccs/lib (like -ldb)
          if platform in ['osf1', 'unixware7', 'openunix8']:
              lib_dirs += ['/usr/ccs/lib']