diff --git a/v2/tools/darwin.jam b/v2/tools/darwin.jam index 94180f947..a14987c33 100644 --- a/v2/tools/darwin.jam +++ b/v2/tools/darwin.jam @@ -152,20 +152,20 @@ rule init ( version ? : command * : options * : requirement * ) # We can turn off strip by specifying it as empty. In which # case we switch to using the linker to do the strip. flags darwin.link.dll OPTIONS - $(condition)/LIB/shared/32/off : -Wl,-x ; + $(condition)/LIB/shared/32/on : -Wl,-x ; flags darwin.link.dll OPTIONS - $(condition)/LIB/shared//off : -Wl,-x ; + $(condition)/LIB/shared//on : -Wl,-x ; flags darwin.link OPTIONS - $(condition)/EXE/32/off : -s ; + $(condition)/EXE/32/on : -s ; flags darwin.link OPTIONS - $(condition)/EXE//off : -s ; + $(condition)/EXE//on : -s ; } else { # Otherwise we need to find a strip program to use. And hence # also tell the link action that we need to use a strip # post-process. - flags darwin.link NEED_STRIP $(condition)/off : "" ; + flags darwin.link NEED_STRIP $(condition)/on : "" ; strip = [ common.get-invocation-command darwin : strip : [ feature.get-values : $(options) ] : $(bin) : search-path ] ;