Skip to content

Commit 398e7f0

Browse files
committed
Fix no pynumpy target when no numpy configured.
1 parent 1e31524 commit 398e7f0

1 file changed

Lines changed: 6 additions & 2 deletions

File tree

build/Jamfile

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -121,8 +121,11 @@ rule lib_boost_python ( version )
121121
;
122122
}
123123

124-
lib_boost_numpy($(py2-version)) = boost_numpy ;
125-
lib_boost_numpy($(py3-version)) = boost_numpy3 ;
124+
lib_boost_numpy(2) = boost_numpy ;
125+
lib_boost_numpy(3) = boost_numpy3 ;
126+
127+
lib_boost_numpy($(py2-version)) = $(lib_boost_python(2)) ;
128+
lib_boost_numpy($(py3-version)) = $(lib_boost_python(3)) ;
126129

127130
rule lib_boost_numpy ( version )
128131
{
@@ -175,6 +178,7 @@ for local N in 2 3
175178
else
176179
{
177180
alias $(lib_boost_python($(N))) ;
181+
alias $(lib_boost_numpy($(N))) ;
178182
}
179183
}
180184

0 commit comments

Comments
 (0)