diff --git a/samples/fscp/client/SConscript b/samples/fscp/client/SConscript index d3133279..b77fd312 100644 --- a/samples/fscp/client/SConscript +++ b/samples/fscp/client/SConscript @@ -5,11 +5,19 @@ import sys libraries = [ 'fscp', 'cryptoplus', - 'boost_thread', 'boost_system', 'crypto', ] +if sys.platform.startswith('darwin'): + libraries.extend([ + 'boost_thread-mt', + ]) +else: + libraries.extend([ + 'boost_thread', + ]) + if sys.platform.startswith('linux'): libraries.extend([ 'pthread', diff --git a/samples/fscp/schat/SConscript b/samples/fscp/schat/SConscript index d3133279..b77fd312 100644 --- a/samples/fscp/schat/SConscript +++ b/samples/fscp/schat/SConscript @@ -5,11 +5,19 @@ import sys libraries = [ 'fscp', 'cryptoplus', - 'boost_thread', 'boost_system', 'crypto', ] +if sys.platform.startswith('darwin'): + libraries.extend([ + 'boost_thread-mt', + ]) +else: + libraries.extend([ + 'boost_thread', + ]) + if sys.platform.startswith('linux'): libraries.extend([ 'pthread',