]> granicus.if.org Git - python/commitdiff
Just to be sure, initialize with a copy of the compiler's lib and inc dirs.
authorChristian Heimes <christian@cheimes.de>
Wed, 12 Dec 2012 11:56:51 +0000 (12:56 +0100)
committerChristian Heimes <christian@cheimes.de>
Wed, 12 Dec 2012 11:56:51 +0000 (12:56 +0100)
setup.py

index 8125efcb4e63920622eeb011626a58274477c814..e0586ef24e4820d09f058ac863fcf515d0a9733c 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -507,8 +507,8 @@ class PyBuildExt(build_ext):
                 ]
             inc_dirs = self.compiler.include_dirs + ['/usr/include']
         else:
-            lib_dirs = []
-            inc_dirs = []
+            lib_dirs = self.compiler.library_dirs[:]
+            inc_dirs = self.compiler.include_dirs[:]
         exts = []
         missing = []