[Python-checkins] cpython (merge 3.3 -> default): Just to be sure, initialize with a copy of the compiler's lib and inc dirs.

christian.heimes python-checkins at python.org
Wed Dec 12 12:57:13 CET 2012


http://hg.python.org/cpython/rev/76abdc4b3795
changeset:   80831:76abdc4b3795
parent:      80829:08113a9e954c
parent:      80830:9e63d99bff64
user:        Christian Heimes <christian at cheimes.de>
date:        Wed Dec 12 12:57:03 2012 +0100
summary:
  Just to be sure, initialize with a copy of the compiler's lib and inc dirs.

files:
  setup.py |  4 ++--
  1 files changed, 2 insertions(+), 2 deletions(-)


diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -507,8 +507,8 @@
                 ]
             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 = []
 

-- 
Repository URL: http://hg.python.org/cpython


More information about the Python-checkins mailing list