From d501189ce944ab244187f62a6de1235e72949a76 Mon Sep 17 00:00:00 2001 From: Ray Speth Date: Mon, 17 Mar 2014 02:05:13 +0000 Subject: [PATCH] [SCons] Allow boost_thread_lib to specify multiple libraries --- SConstruct | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/SConstruct b/SConstruct index c092c01a5..9ef080ba1 100644 --- a/SConstruct +++ b/SConstruct @@ -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