[SCons] Add Boost libraries when building the shared library
Cherry-pick of trunk r2670.
This commit is contained in:
parent
2d7d82d633
commit
2628cb760c
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