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:
Christian Heimes 2012-12-12 12:41:00 +01:00
parent 08d5ca6cd4
commit f19529cfd6
2 changed files with 6 additions and 0 deletions

View file

@ -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 = []