Commit f19529cf authored by Christian Heimes's avatar Christian Heimes

Fix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are

defined in cross compiling mode, too.
parent 08d5ca6c
...@@ -316,6 +316,9 @@ Tests ...@@ -316,6 +316,9 @@ Tests
Build 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 #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. - Issue #16262: fix out-of-src-tree builds, if mercurial is not installed.
......
...@@ -506,6 +506,9 @@ class PyBuildExt(build_ext): ...@@ -506,6 +506,9 @@ class PyBuildExt(build_ext):
'/lib', '/usr/lib', '/lib', '/usr/lib',
] ]
inc_dirs = self.compiler.include_dirs + ['/usr/include'] inc_dirs = self.compiler.include_dirs + ['/usr/include']
else:
lib_dirs = []
inc_dirs = []
exts = [] exts = []
missing = [] missing = []
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment