2
0
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:
Steven Watanabe
2016-04-14 08:49:00 -06:00
parent 1dd163c51c
commit 786a5c5e65

View File

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