From b6376f1e00ab6c2f1101c2aca64a12f07618a61b Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Thu, 23 Feb 2012 21:25:13 +0000 Subject: [PATCH] Include Sundials in the Cantera Python module when necessary --- src/python/SConscript | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/python/SConscript b/src/python/SConscript index 230bb69c1..ea5044188 100644 --- a/src/python/SConscript +++ b/src/python/SConscript @@ -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'],