2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-24 06:02:14 +00:00

Don't build numpy if there's no python version to target.

This commit is contained in:
Rene Rivera
2017-03-06 10:30:41 -06:00
parent 471e6181b2
commit 5121fc11f9

View File

@@ -174,7 +174,7 @@ for local N in 2 3
{
alias $(lib_boost_python($(N))) ;
}
if [ python.numpy ]
if $(py$(N)-version) && [ python.numpy ]
{
lib_boost_numpy $(py$(N)-version) ;
libraries += $(lib_boost_numpy($(py$(N)-version))) ;