Fixed an error building Cantera.mak when 'build_with_f2c' is True

This commit is contained in:
Ray Speth 2012-08-14 21:49:00 +00:00
parent d78ec19e4c
commit 548749d080

View file

@ -104,6 +104,8 @@ localenv['mak_f2c_lib'] = '-lctf2c' if localenv['build_with_f2c'] and not env['s
if not localenv['build_with_f2c']:
localenv['mak_syslibs'] = ' '.join('-l%s' % s for s in localenv['FORTRANSYSLIBS'])
pc_libs.extend(localenv['FORTRANSYSLIBS'])
else:
localenv['mak_syslibs'] = ''
mak = build(localenv.SubstFile('Cantera.mak', 'Cantera.mak.in'))
install('$inst_incdir', mak)