diff --git a/build/Jamfile b/build/Jamfile index 34f99dde..d03d4dd0 100644 --- a/build/Jamfile +++ b/build/Jamfile @@ -30,8 +30,6 @@ else ; } -if [ python.configured ] -{ project boost/python : source-location ../src ; @@ -123,7 +121,7 @@ lib boost_numpy boost_python on:BOOST_DEBUG_PYTHON -@$(BOOST_JAMROOT_MODULE)%$(BOOST_JAMROOT_MODULE).tag - @$(__name__).python-tag + @$(__name__).python-tag @python.require-py : # default build @@ -142,8 +140,16 @@ lib boost_numpy # `install` installs the two libraries and their dependencies and is similar # to issuing `b2 --with-python install` from top level -boost-install boost_python boost_numpy ; - +if [ python.configured ] +{ + if [ python.numpy ] + { + boost-install boost_python boost_numpy ; + } + else + { + boost-install boost_python ; + } } else {