From 60fba03e99a0e04fc946de523b126edb6fdda048 Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 3 Mar 2017 22:28:22 -0600 Subject: [PATCH] Fix libs from referencing BPL when there is no python configured. --- build/Jamfile | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/build/Jamfile b/build/Jamfile index aedeed67..4a766ac2 100644 --- a/build/Jamfile +++ b/build/Jamfile @@ -42,8 +42,11 @@ rule cond ( test ? : yes * : no * ) { if $(test) { return $(yes) ; } else { retu rule unless ( test ? : yes * : no * ) { if ! $(test) { return $(yes) ; } else { return $(no) ; } } local rule eq ( a : b ) { if $(a) = $(b) { return 1 ; } } -lib_boost_python($(py2-version)) = boost_python ; -lib_boost_python($(py3-version)) = boost_python3 ; +lib_boost_python(2) = boost_python ; +lib_boost_python(3) = boost_python3 ; + +lib_boost_python($(py2-version)) = $(lib_boost_python(2)) ; +lib_boost_python($(py3-version)) = $(lib_boost_python(3)) ; rule lib_boost_python ( version ) { @@ -169,6 +172,10 @@ for local N in 2 3 libraries += $(lib_boost_numpy($(py$(N)-version))) ; } } + else + { + alias $(lib_boost_python($(N))) ; + } } boost-install $(libraries) ;