Skip to content

Commit 5121fc1

Browse files
committed
Don't build numpy if there's no python version to target.
1 parent 471e618 commit 5121fc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

build/Jamfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -174,7 +174,7 @@ for local N in 2 3
174174
{
175175
alias $(lib_boost_python($(N))) ;
176176
}
177-
if [ python.numpy ]
177+
if $(py$(N)-version) && [ python.numpy ]
178178
{
179179
lib_boost_numpy $(py$(N)-version) ;
180180
libraries += $(lib_boost_numpy($(py$(N)-version))) ;

0 commit comments

Comments
 (0)