[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:
parent
e1074722c5
commit
8b435f6dcb
1 changed files with 1 additions and 0 deletions
|
|
@ -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')
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue