Fixed setting of LIBPATH when linking the Python module
This resolves some problems when building with non-default Python installations.
This commit is contained in:
parent
8b3f9c2c1c
commit
e72524218d
1 changed files with 2 additions and 1 deletions
|
|
@ -9,7 +9,8 @@ gcv = distutils.sysconfig.get_config_var
|
|||
|
||||
localenv.Append(CPPPATH=[gcv('INCLUDEPY'), env['python_array_include']],
|
||||
CPPFLAGS=((gcv('BASECFLAGS') or '').split() +
|
||||
(gcv('OPT') or '').split()))
|
||||
(gcv('OPT') or '').split()),
|
||||
LIBPATH=(gcv('LIBDIR') or ''))
|
||||
|
||||
if '-Wstrict-prototypes' in localenv['CPPFLAGS']:
|
||||
localenv['CPPFLAGS'].remove('-Wstrict-prototypes')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue