mirror of
https://github.com/boostorg/build.git
synced 2026-02-14 12:42:11 +00:00
If we can't find the python headers and libraries, abort configuration. Otherwise, we would attempt to build Boost.Python unconditionally.
This commit is contained in:
@@ -797,13 +797,11 @@ local rule configure ( version ? : cmd-or-prefix ? : includes * : libraries ? :
|
||||
}
|
||||
}
|
||||
|
||||
# Anything left to compute?
|
||||
# Check whether configuration succeeded.
|
||||
if ! ( $(includes) && $(libraries) )
|
||||
{
|
||||
version ?= $(fallback-version) ;
|
||||
version ?= 2.5 ;
|
||||
exec-prefix ?= $(prefix) ;
|
||||
compute-default-paths $(target-os) : $(version) : $(prefix:E=) ;
|
||||
debug-message Python headers and libraries not found. ;
|
||||
return ;
|
||||
}
|
||||
|
||||
.configured = true ;
|
||||
|
||||
Reference in New Issue
Block a user