From 77d8dbc1e8b1b00797f408b5e601a0eacb77dff3 Mon Sep 17 00:00:00 2001 From: "doko@ubuntu.com" Date: Thu, 11 Apr 2013 00:19:55 +0200 Subject: - Issue #17086: Search the include and library directories provided by the compiler. --- Misc/NEWS | 3 +++ setup.py | 1 + 2 files changed, 4 insertions(+) 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 -- cgit v0.12