[SCons] Fix library linking issues under Cygwin

Partial cherry-pick of trunk r2738.
This commit is contained in:
Ray Speth 2014-02-24 03:27:25 +00:00
parent 5441577624
commit 214e3c8af7

View file

@ -56,7 +56,7 @@ install('$inst_libdir', lib)
env['cantera_staticlib'] = lib
# Windows and OS X require shared libraries at link time
if localenv['OS'] in ('Darwin', 'Windows'):
if localenv['OS'] in ('Darwin', 'Windows', 'Cygwin'):
localenv.Append(LIBS=localenv['FORTRANSYSLIBS'])
if (localenv['use_sundials'] == 'y'):
localenv.Append(LIBS=localenv['sundials_libs'],