Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Force static runtime link for boost::thread

  • Loading branch information...
commit c1cc3bc9cc104602e4bd610e849b72e56c2ce8b6 1 parent cb2fe94
@delirium--- authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  build.sh
View
2  build.sh
@@ -255,7 +255,7 @@ END
variant=release link=static --layout=tagged --with-system --with-filesystem \
--with-program_options install --prefix=$boost_prefix
# Building dynamic threads library because of boost bug https://svn.boost.org/trac/boost/ticket/5964
-./b2 toolset=gcc target-os=windows threading=multi threadapi=pthread \
+./b2 cflags="-static-libgcc -static-libstdc++" toolset=gcc target-os=windows threading=multi threadapi=pthread \
variant=release link=shared --layout=tagged --with-thread install --prefix=$boost_prefix
BOOST_INCLUDE=$boost_prefix/include
BOOST_LIB=$boost_prefix/lib
Please sign in to comment.
Something went wrong with that request. Please try again.