Include Sundials in the Cantera Python module when necessary
This commit is contained in:
parent
9bcc42b758
commit
b6376f1e00
1 changed files with 3 additions and 2 deletions
|
|
@ -39,8 +39,9 @@ if localenv['python_package'] == 'full':
|
|||
# OS X requires library dependencies to be specified at link time
|
||||
if localenv['OS'] == 'Darwin':
|
||||
pylinklibs.append('python%s' % gcv('VERSION'))
|
||||
if localenv['use_sundials'] == 'y':
|
||||
pylinklibs.extend(['sundials_cvodes', 'sundials_nvecserial'])
|
||||
|
||||
if localenv['use_sundials'] == 'y':
|
||||
pylinklibs.extend(['sundials_cvodes', 'sundials_nvecserial'])
|
||||
|
||||
pymodule = localenv.SharedLibrary('#interfaces/python/Cantera/_cantera',
|
||||
['pycantera.cpp'],
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue