Skip to content

Commit 07c8cbe

Browse files
committed
Adjust to Boost.Build changes.
1 parent 163e469 commit 07c8cbe

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

build/Jamfile

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -142,6 +142,7 @@ rule lib_boost_python ( is-py3 ? )
142142

143143
rule lib_boost_numpy ( is-py3 ? )
144144
{
145+
numpy-include = [ python.numpy-include ] ;
145146
lib [ cond $(is-py3) : boost_numpy3 : boost_numpy ]
146147
: # sources
147148
numpy/dtype.cpp
@@ -153,6 +154,7 @@ rule lib_boost_numpy ( is-py3 ? )
153154
: # requirements
154155
[ cond [ python.numpy ] : <library>/python//python_for_extensions ]
155156
[ unless [ python.numpy ] : <build>no ]
157+
<include>$(numpy-include)
156158
<library>boost_python
157159
<python-debugging>on:<define>BOOST_DEBUG_PYTHON
158160
[ cond $(is-py3) : <python>$(py3-version) ]

0 commit comments

Comments
 (0)