Fix for using empty Python configuration variables
This commit is contained in:
parent
11f277b71b
commit
0df15021a2
1 changed files with 2 additions and 2 deletions
|
|
@ -9,8 +9,8 @@ gcv = distutils.sysconfig.get_config_var
|
|||
|
||||
localenv.Append(CPPPATH=[gcv('INCLUDEPY'), env['python_array_include']],
|
||||
SHLINKFLAGS=gcv('LDFLAGS'),
|
||||
CPPFLAGS=(gcv('BASECFLAGS').split() +
|
||||
gcv('OPT').split()))
|
||||
CPPFLAGS=((gcv('BASECFLAGS') or '').split() +
|
||||
(gcv('OPT') or '').split()))
|
||||
|
||||
if localenv['OS'] == 'Windows':
|
||||
localenv.Append(LIBPATH=pjoin(gcv('prefix'), 'libs'))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue