From: Christian Heimes Date: Wed, 12 Dec 2012 11:56:51 +0000 (+0100) Subject: Just to be sure, initialize with a copy of the compiler's lib and inc dirs. X-Git-Tag: v3.3.1rc1~535 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=d783261e99ebb5b3f305c3261a5b6ebf69de95db;p=thirdparty%2FPython%2Fcpython.git Just to be sure, initialize with a copy of the compiler's lib and inc dirs. --- diff --git a/setup.py b/setup.py index 8125efcb4e63..e0586ef24e48 100644 --- a/setup.py +++ b/setup.py @@ -507,8 +507,8 @@ class PyBuildExt(build_ext): ] inc_dirs = self.compiler.include_dirs + ['/usr/include'] else: - lib_dirs = [] - inc_dirs = [] + lib_dirs = self.compiler.library_dirs[:] + inc_dirs = self.compiler.include_dirs[:] exts = [] missing = []