[SCons] Allow boost_thread_lib to specify multiple libraries
This commit is contained in:
parent
338a54f101
commit
d501189ce9
1 changed files with 3 additions and 2 deletions
|
|
@ -503,7 +503,8 @@ config_options = [
|
|||
'Directory containing the Boost.Thread library.',
|
||||
defaults.boostLibDir, PathVariable.PathAccept),
|
||||
('boost_thread_lib',
|
||||
'The name of the Boost.Thread library.',
|
||||
"""A comma-separated list containing the names of the libraries needed to
|
||||
link to Boost.Thread.""",
|
||||
'boost_thread'),
|
||||
('boost_windows_libs',
|
||||
"""Comma-separated list containing the names of the Boost libraries
|
||||
|
|
@ -1182,7 +1183,7 @@ env['boost_libs'] = []
|
|||
if env['build_thread_safe']:
|
||||
env['use_boost_libs'] = True
|
||||
if env['CC'] != 'cl':
|
||||
env['boost_libs'].append(env['boost_thread_lib'])
|
||||
env['boost_libs'].extend(listify(env['boost_thread_lib']))
|
||||
else:
|
||||
env['use_boost_libs'] = False
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue