diff --git a/SConstruct b/SConstruct index 04611b75a..2b614bca5 100644 --- a/SConstruct +++ b/SConstruct @@ -1327,7 +1327,6 @@ if addInstallActions: linkLibs = ['cantera'] linkSharedLibs = ['cantera_shared'] - if env['use_sundials'] == 'y': env['sundials_libs'] = ['sundials_cvodes', 'sundials_ida', 'sundials_nvecserial'] linkLibs.extend(('sundials_cvodes', 'sundials_ida', 'sundials_nvecserial')) @@ -1363,6 +1362,9 @@ elif not env['single_library']: linkLibs.append('ctf2c') linkSharedLibs.append('ctf2c_shared') +linkLibs.extend(env['boost_libs']) +linkSharedLibs.extend(env['boost_libs']) + # Store the list of needed static link libraries in the environment env['cantera_libs'] = linkLibs env['cantera_shared_libs'] = linkSharedLibs diff --git a/src/apps/SConscript b/src/apps/SConscript index 9c913cbc1..c0730c97f 100644 --- a/src/apps/SConscript +++ b/src/apps/SConscript @@ -7,7 +7,7 @@ localenv.Prepend(CPPPATH=['#src', '#include', '#src/apps']) def buildProgram(name, src): prog = build(localenv.Program(target=pjoin('#build/bin', name), source=src, - LIBS=env['cantera_libs']+env['boost_libs'])) + LIBS=env['cantera_libs'])) install('$inst_bindir', prog) buildProgram('cti2ctml', ['cti2ctml.cpp'])