Skip to content

Commit bd2de71

Browse files
author
liancheng
committed
Add -lpthread option since Boost.System requires pthread at the linking stage.
1 parent 39757ee commit bd2de71

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

libs/network/test/Jamfile.v2

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,9 @@ project network_test :
1111
<source>/boost//system
1212
<source>/boost//date_time
1313
<source>/boost//regex
14-
<link>static
14+
<source>/boost//thread
15+
<toolset>gcc:<linkflags>-lpthread
16+
<link>static
1517
;
1618

1719
unit-test message_test : message_test.cpp ;

0 commit comments

Comments
 (0)