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) ;