Fix cross compiling issue in setup.py, ensure that lib_dirs and inc_dirs are
defined in cross compiling mode, too.
This commit is contained in:
parent
08d5ca6cd4
commit
f19529cfd6
@ -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.
|
||||||
|
3
setup.py
3
setup.py
@ -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 = []
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user