mirror of
https://github.com/boostorg/python.git
synced 2026-01-24 06:02:14 +00:00
Don't build numpy if there's no python version to target.
This commit is contained in:
@@ -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))) ;
|
||||
|
||||
Reference in New Issue
Block a user