Skip to content

Commit

Permalink
Adds pthread library link.
Browse files Browse the repository at this point in the history
  • Loading branch information
s-vincent committed Sep 14, 2018
1 parent f0ab9f1 commit b6887c0
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 1 deletion.
5 changes: 4 additions & 1 deletion samples/asiotap/endpoint/SConscript
Original file line number Diff line number Diff line change
@@ -1,12 +1,15 @@
import os

import sys

libraries = [
'asiotap',
'boost_system',
'boost_iostreams',
]

if sys.platform.startswith('linux'):
libraries.append('pthread')

Import('env dirs name')

env = env.Clone()
Expand Down
1 change: 1 addition & 0 deletions samples/asiotap/routes/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ libraries = [
if sys.platform.startswith('linux'):
libraries.extend([
'netlinkplus',
'pthread',
])

Import('env dirs name')
Expand Down
1 change: 1 addition & 0 deletions samples/asiotap/tap/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ libraries = [

if sys.platform.startswith('linux'):
libraries.append('netlinkplus')
libraries.append('pthread')

Import('env dirs name')

Expand Down
1 change: 1 addition & 0 deletions samples/asiotap/tun/SConscript
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,7 @@ libraries = [

if sys.platform.startswith('linux'):
libraries.append('netlinkplus')
libraries.append('pthread')

Import('env dirs name')

Expand Down

0 comments on commit b6887c0

Please sign in to comment.