[Python-checkins] cpython (2.7): - Issue #17086: Search the include and library directories provided by the

matthias.klose python-checkins at python.org
Thu Apr 11 00:20:10 CEST 2013


http://hg.python.org/cpython/rev/87331820569a
changeset:   83240:87331820569a
branch:      2.7
parent:      83231:54532684dbed
user:        doko at ubuntu.com
date:        Thu Apr 11 00:19:55 2013 +0200
summary:
  - Issue #17086: Search the include and library directories provided by the
  compiler.

files:
  Misc/NEWS |  3 +++
  setup.py  |  1 +
  2 files changed, 4 insertions(+), 0 deletions(-)


diff --git a/Misc/NEWS b/Misc/NEWS
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -11,6 +11,9 @@
 
 - Issue #17682: Add the _io module to Modules/Setup.dist (commented out).
 
+- Issue #17086: Search the include and library directories provided by the
+  compiler.
+
 Core and Builtins
 -----------------
 
diff --git a/setup.py b/setup.py
--- a/setup.py
+++ b/setup.py
@@ -439,6 +439,7 @@
         # Ensure that /usr/local is always used
         add_dir_to_list(self.compiler.library_dirs, '/usr/local/lib')
         add_dir_to_list(self.compiler.include_dirs, '/usr/local/include')
+        self.add_gcc_paths()
         self.add_multiarch_paths()
 
         # Add paths specified in the environment variables LDFLAGS and

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


More information about the Python-checkins mailing list