[SCons] Fix a problem with Cantera.mak and user-provided BLAS/LAPACK

All cases need to define the mak_blas_lapack_libs_dep variable that
was introduced in r2535.
This commit is contained in:
Ray Speth
2013-10-21 01:55:47 +00:00
parent e1074722c5
commit 8b435f6dcb

View File

@@ -86,6 +86,7 @@ localenv['mak_have_blas_lapack_dir'] = '1' if localenv['blas_lapack_dir'] else '
if localenv['blas_lapack_dir']:
localenv['mak_blas_lapack_libs'] = ' '.join('-l%s' % s for s in localenv['blas_lapack_libs'])
localenv['mak_blas_lapack_libs_dep'] = ''
elif not env['single_library']:
localenv['mak_blas_lapack_libs'] = ('-L' + '$(CANTERA_INSTALL_ROOT)/lib' + ' -lctlapack -lctblas')
localenv['mak_blas_lapack_libs_dep'] = ( '$' + '(CANTERA_INSTALL_ROOT)' + '/lib' + 'ctlapack' + '.a' + ' $(CANTERA_INSTALL_ROOT)/lib/libctblas.a')