Skip to content

Commit

Permalink
Fixes compilation of FSCP samples on macOS (link with boost_thread-mt…
Browse files Browse the repository at this point in the history
… instead of boost_thread.
  • Loading branch information
s-vincent committed Aug 9, 2017
1 parent 7de9b70 commit 8e86b5a
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
10 changes: 9 additions & 1 deletion samples/fscp/client/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down
10 changes: 9 additions & 1 deletion samples/fscp/schat/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -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',
Expand Down

0 comments on commit 8e86b5a

Please sign in to comment.