summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authordoko@ubuntu.com <doko@ubuntu.com>2013-04-10 22:19:55 (GMT)
committerdoko@ubuntu.com <doko@ubuntu.com>2013-04-10 22:19:55 (GMT)
commit77d8dbc1e8b1b00797f408b5e601a0eacb77dff3 (patch)
treed792a9a401bb581a1dbeb909cc082babf4d1b743
parent3218f6511face49c4b3563160ca7b2559c363d5c (diff)
downloadcpython-77d8dbc1e8b1b00797f408b5e601a0eacb77dff3.zip
cpython-77d8dbc1e8b1b00797f408b5e601a0eacb77dff3.tar.gz
cpython-77d8dbc1e8b1b00797f408b5e601a0eacb77dff3.tar.bz2
- Issue #17086: Search the include and library directories provided by the
compiler.
-rw-r--r--Misc/NEWS3
-rw-r--r--setup.py1
2 files changed, 4 insertions, 0 deletions
diff --git a/Misc/NEWS b/Misc/NEWS
index b6f15f3..76718be 100644
--- 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
-----------------
diff --git a/setup.py b/setup.py
index ea8a5f5..716f08e 100644
--- 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