summaryrefslogtreecommitdiff
path: root/setup.py
diff options
context:
space:
mode:
authorChristian Heimes <christian@cheimes.de>2012-12-12 12:56:51 +0100
committerChristian Heimes <christian@cheimes.de>2012-12-12 12:56:51 +0100
commitd783261e99ebb5b3f305c3261a5b6ebf69de95db (patch)
treeaea377994e0c16e41f12db2eb52c6b44fb5380ca /setup.py
parentf19529cfd6747bb85afcae946de67663035a734a (diff)
downloadcpython-git-d783261e99ebb5b3f305c3261a5b6ebf69de95db.tar.gz
Just to be sure, initialize with a copy of the compiler's lib and inc dirs.
Diffstat (limited to 'setup.py')
-rw-r--r--setup.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/setup.py b/setup.py
index 8125efcb4e..e0586ef24e 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 = []