From d783261e99ebb5b3f305c3261a5b6ebf69de95db Mon Sep 17 00:00:00 2001 From: Christian Heimes Date: Wed, 12 Dec 2012 12:56:51 +0100 Subject: [PATCH] Just to be sure, initialize with a copy of the compiler's lib and inc dirs. --- setup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/setup.py b/setup.py index 8125efcb4e6..e0586ef24e4 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 = []