diff options
author | Christian Heimes <christian@cheimes.de> | 2012-12-12 11:41:50 (GMT) |
---|---|---|
committer | Christian Heimes <christian@cheimes.de> | 2012-12-12 11:41:50 (GMT) |
commit | bf5fcc7fc8a22b45fda1125837058503b4bb5378 (patch) | |
tree | 2a202f896cad4225559c8a4d8c6531f84cad7cb4 | |
parent | 370bc2f7ee3e5373138038327b2f68f93a25f9d2 (diff) | |
parent | f19529cfd6747bb85afcae946de67663035a734a (diff) | |
download | cpython-bf5fcc7fc8a22b45fda1125837058503b4bb5378.zip cpython-bf5fcc7fc8a22b45fda1125837058503b4bb5378.tar.gz cpython-bf5fcc7fc8a22b45fda1125837058503b4bb5378.tar.bz2 |
Fix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are
defined in cross compiling mode, too.
-rw-r--r-- | Misc/NEWS | 3 | ||||
-rw-r--r-- | setup.py | 3 |
2 files changed, 6 insertions, 0 deletions
@@ -467,6 +467,9 @@ Tests Build ----- +- Fix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are + defined in cross compiling mode, too. + - Issue #16593: Have BSD 'make -s' do the right thing, thanks to Daniel Shahaf - Issue #16262: fix out-of-src-tree builds, if mercurial is not installed. @@ -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 = [] |