From 5121fc11f9d97a0f79a2f37ad01f26bc3f40564f Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Mon, 6 Mar 2017 10:30:41 -0600 Subject: [PATCH] Don't build numpy if there's no python version to target. --- build/Jamfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/Jamfile b/build/Jamfile index 8c37ec6d..f14dc113 100644 --- a/build/Jamfile +++ b/build/Jamfile @@ -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))) ;