diff --git a/Jamfile b/Jamfile index 58f611f3c..1dbd74330 100644 --- a/Jamfile +++ b/Jamfile @@ -234,12 +234,19 @@ rule linking ( properties * ) } } - else + else if shared in $(properties) { result += boost_system/shared ; result += boost_chrono/shared ; result += boost_random/shared ; } + else + { + result += boost_system ; + result += boost_chrono ; + result += boost_random ; + } + result += BOOST_ALL_NO_LIB BOOST_MULTI_INDEX_DISABLE_SERIALIZATION ; @@ -493,7 +500,7 @@ feature.compose unicode : _UNICODE UNICODE ; feature deprecated-functions : on off : composite propagated link-incompatible ; feature.compose off : TORRENT_NO_DEPRECATE ; -feature boost-link : static shared : propagated composite ; +feature boost-link : default static shared : propagated composite ; feature debug-iterators : off on : composite propagated link-incompatible ; feature.compose on : _SCL_SECURE=1 _GLIBCXX_DEBUG ; @@ -770,7 +777,6 @@ lib torrent $(usage-requirements) : # default build - static multi : # usage requirements