[Python-checkins] cpython (3.3): 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:11 CET 2012


http://hg.python.org/cpython/rev/9e63d99bff64
changeset:   80830:9e63d99bff64
branch:      3.3
parent:      80828:9f1f27c5e5b2
user:        Christian Heimes <christian at cheimes.de>
date:        Wed Dec 12 12:56:51 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