2
0
mirror of https://github.com/boostorg/python.git synced 2026-01-19 04:22:16 +00:00

Fix libs from referencing BPL when there is no python configured.

This commit is contained in:
Rene Rivera
2017-03-03 22:28:22 -06:00
parent e3c9dd78aa
commit 60fba03e99

View File

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