diff --git a/build.jam b/build.jam index 2512f96cd..7a91e3874 100644 --- a/build.jam +++ b/build.jam @@ -11,7 +11,6 @@ constant boost_dependencies : /boost/config//boost_config /boost/core//boost_core /boost/detail//boost_detail - /boost/function//boost_function /boost/integer//boost_integer /boost/io//boost_io /boost/iterator//boost_iterator diff --git a/build/Jamfile.v2 b/build/Jamfile.v2 index f64e407ce..50fcce7fb 100644 --- a/build/Jamfile.v2 +++ b/build/Jamfile.v2 @@ -10,11 +10,16 @@ require-b2 5.0.1 ; import-search /boost/config/checks ; import config : requires ; +constant boost_dependencies_private : + /boost/function//boost_function + ; + project : source-location ../src : common-requirements $(boost_dependencies) : requirements @include-spirit + $(boost_dependencies_private) : usage-requirements BOOST_SERIALIZATION_NO_LIB=1 ;