2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-19 04:22:16 +00:00

Adjust to Boost.Build changes.

This commit is contained in:
Stefan Seefeld
2016-10-23 21:27:31 -04:00
parent 163e469bc4
commit 07c8cbe652

View File

@@ -142,6 +142,7 @@ rule lib_boost_python ( is-py3 ? )
rule lib_boost_numpy ( is-py3 ? )
{
numpy-include = [ python.numpy-include ] ;
lib [ cond $(is-py3) : boost_numpy3 : boost_numpy ]
: # sources
numpy/dtype.cpp
@@ -153,6 +154,7 @@ rule lib_boost_numpy ( is-py3 ? )
: # requirements
[ cond [ python.numpy ] : <library>/python//python_for_extensions ]
[ unless [ python.numpy ] : <build>no ]
<include>$(numpy-include)
<library>boost_python
<python-debugging>on:<define>BOOST_DEBUG_PYTHON
[ cond $(is-py3) : <python>$(py3-version) ]