File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -42,8 +42,11 @@ rule cond ( test ? : yes * : no * ) { if $(test) { return $(yes) ; } else { retu
4242rule unless ( test ? : yes * : no * ) { if ! $(test) { return $(yes) ; } else { return $(no) ; } }
4343local rule eq ( a : b ) { if $(a) = $(b) { return 1 ; } }
4444
45- lib_boost_python($(py2-version)) = boost_python ;
46- lib_boost_python($(py3-version)) = boost_python3 ;
45+ lib_boost_python(2) = boost_python ;
46+ lib_boost_python(3) = boost_python3 ;
47+
48+ lib_boost_python($(py2-version)) = $(lib_boost_python(2)) ;
49+ lib_boost_python($(py3-version)) = $(lib_boost_python(3)) ;
4750
4851rule lib_boost_python ( version )
4952{
@@ -169,6 +172,10 @@ for local N in 2 3
169172 libraries += $(lib_boost_numpy($(py$(N)-version))) ;
170173 }
171174 }
175+ else
176+ {
177+ alias $(lib_boost_python($(N))) ;
178+ }
172179}
173180
174181boost-install $(libraries) ;
You can’t perform that action at this time.
0 commit comments