]> git.ipfire.org Git - thirdparty/Python/cpython.git/commitdiff
- Issue #17086: Search the include and library directories provided by the
authordoko@ubuntu.com <doko@ubuntu.com>
Wed, 10 Apr 2013 22:19:55 +0000 (00:19 +0200)
committerdoko@ubuntu.com <doko@ubuntu.com>
Wed, 10 Apr 2013 22:19:55 +0000 (00:19 +0200)
  compiler.

Misc/NEWS
setup.py

index b6f15f33b37c99a21607ee1c334b858399177399..76718bedd92082f4fa80125820319045f3b09dc5 100644 (file)
--- a/Misc/NEWS
+++ b/Misc/NEWS
@@ -11,6 +11,9 @@ Build
 
 - 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
 -----------------
 
index ea8a5f51e963128d8e0487d14c54c5ed36d4c54c..716f08e21123764ad5d3886b8935f05998e181a4 100644 (file)
--- a/setup.py
+++ b/setup.py
@@ -439,6 +439,7 @@ class PyBuildExt(build_ext):
         # 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