From 7d3db3ae27c35fb3bb1ed7965b0662ac1179de7b Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Fri, 5 Jun 2026 08:49:38 -0500 Subject: [PATCH] Can't do static builds on macos. --- Jamroot.jam | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/Jamroot.jam b/Jamroot.jam index c7e792863..b74a26570 100644 --- a/Jamroot.jam +++ b/Jamroot.jam @@ -274,17 +274,27 @@ install b2-exe portable:(b2bindir-portable) ; explicit b2-exe ; +rule b2-release-static ( props * ) +{ + local target-os = [ feature.get-values : $(props) ] ; + local host-os = [ feature.get-values : $(props) ] ; + if ! $(target-os) in darwin + { + return + static + static ; + } +} alias b2-release : b2-exe/$(SELF)/.build/b2-$(b2_version) b2-core/$(SELF)/.build/b2-$(b2_version) : portable - static - static release on speed full full hidden + @b2-release-static ; explicit b2-release ;