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 ;