diff options
author | Christian Heimes <christian@cheimes.de> | 2012-12-12 11:41:00 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2012-12-12 11:41:00 (GMT) |
commit | f19529cfd6747bb85afcae946de67663035a734a (patch) | |
tree | 1bf431d0341fa87653456121de91cb729e52d4ee /setup.py | |
parent | 08d5ca6cd4a30e2f6a8df48fb9231a5321f72efc (diff) | |
download | cpython-f19529cfd6747bb85afcae946de67663035a734a.zip cpython-f19529cfd6747bb85afcae946de67663035a734a.tar.gz cpython-f19529cfd6747bb85afcae946de67663035a734a.tar.bz2 |
Fix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are
defined in cross compiling mode, too.
Diffstat (limited to 'setup.py')
-rw-r--r-- | setup.py | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -506,6 +506,9 @@ class PyBuildExt(build_ext): '/lib', '/usr/lib', ] inc_dirs = self.compiler.include_dirs + ['/usr/include'] + else: + lib_dirs = [] + inc_dirs = [] exts = [] missing = [] |