[SCons] Fix include order when compiling Cython module
This commit is contained in:
parent
9a4bc3c34f
commit
07f25621f3
1 changed files with 1 additions and 1 deletions
|
|
@ -18,7 +18,7 @@ def configure_python(env, python_command):
|
|||
"print(numpy.get_include())"))
|
||||
info = getCommandOutput(python_command, '-c', script)
|
||||
module_ext, inc, pylib, prefix, py_version, numpy_include = info.splitlines()[-6:]
|
||||
env.Append(CPPPATH=[inc, numpy_include, Dir('#include')])
|
||||
env.Prepend(CPPPATH=[Dir('#include'), inc, numpy_include])
|
||||
env.Prepend(LIBS=env['cantera_libs'])
|
||||
if env['OS'] == 'Darwin':
|
||||
env.Append(LINKFLAGS='-undefined dynamic_lookup')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue