special exception to allow --with-system and --without-system (#1142)

This commit is contained in:
Dmitry Arkhipov
2026-04-27 19:37:43 +03:00
committed by Peter Dimov
parent d26d9053e5
commit cd9243ddd6
+6 -1
View File
@@ -406,8 +406,13 @@ rule boost-lib ( name : sources * : requirements * : default-build * : usage-req
# Declare special top-level targets that build and install the desired variants
# of the libraries.
local former-libraries-to-build ;
if system in $(all-libraries)
{
former-libraries-to-build += system ;
}
boostcpp.declare-targets $(all-libraries-modular-build) :
$(all-libraries-to-build) ;
[ SORT $(all-libraries-to-build) $(former-libraries-to-build) ] ;
# Declare a Boost library and run related declaration rules. This should be
# called from the libroot/build.jam to define the components of a Boost lib.