From: doko@ubuntu.com Date: Wed, 10 Apr 2013 22:19:55 +0000 (+0200) Subject: - Issue #17086: Search the include and library directories provided by the X-Git-Tag: v2.7.5~87 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=77d8dbc1e8b1b00797f408b5e601a0eacb77dff3;p=thirdparty%2FPython%2Fcpython.git - Issue #17086: Search the include and library directories provided by the compiler. --- diff --git a/Misc/NEWS b/Misc/NEWS index b6f15f33b37c..76718bedd920 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 ea8a5f51e963..716f08e21123 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