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:
@@ -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) ]
|
||||
|
||||
Reference in New Issue
Block a user