[SCons] Add Boost libraries when building the shared library
This commit is contained in:
parent
dfc542be76
commit
2a37111d33
1 changed files with 3 additions and 0 deletions
|
|
@ -64,6 +64,9 @@ if localenv['OS'] in ('Darwin', 'Windows'):
|
|||
if localenv['blas_lapack_libs']:
|
||||
localenv.Append(LIBS=localenv['blas_lapack_libs'],
|
||||
LIBPATH=localenv['blas_lapack_dir'])
|
||||
if localenv['boost_libs']:
|
||||
localenv.Append(LIBS=localenv['boost_libs'],
|
||||
LIBPATH=localenv['boost_lib_dir'])
|
||||
|
||||
if localenv['toolchain'] == 'mingw':
|
||||
localenv.Append(LINKFLAGS=['-static-libgcc', '-static-libstdc++'])
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue