From cd9243ddd68a8517566a5e62911304e3cc82b3b5 Mon Sep 17 00:00:00 2001 From: Dmitry Arkhipov Date: Mon, 27 Apr 2026 19:37:43 +0300 Subject: [PATCH] special exception to allow --with-system and --without-system (#1142) --- Jamroot | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/Jamroot b/Jamroot index b5a2afe931..a309c72838 100644 --- a/Jamroot +++ b/Jamroot @@ -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.