Only add -static to clang on linux

This commit is contained in:
Kenneth Heafield 2012-05-06 20:13:19 -04:00
parent 9e626369f7
commit 28b1fbcf5d

View File

@ -185,7 +185,7 @@ project : requirements
<threading>multi:<library>boost_thread
<define>_FILE_OFFSET_BITS=64 <define>_LARGE_FILES
$(requirements)
<link>static,<toolset>clang:<linkflags>-static #apparently bjam doesn't pass -static properly.
<os>LINUX,<link>static,<toolset>clang:<linkflags>-static #apparently bjam doesn't pass -static properly.
<cxxflags>$(cxxflags)
<cflags>$(cflags)
<linkflags>$(ldflags)