From ebb6a6942d356375ffba792181f79479ae005bff Mon Sep 17 00:00:00 2001 From: Rene Rivera Date: Wed, 16 Dec 2009 03:56:33 +0000 Subject: [PATCH] Really fix on vs. off change for Xcode gcc. [SVN r58409] --- v2/tools/darwin.jam | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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 ] ;