Boost logo

Boost-Commit :

Subject: [Boost-commit] svn:boost r49100 - branches/bcbboost/tools/build/v2/tools
From: nicola.musatti_at_[hidden]
Date: 2008-10-01 18:39:31


Author: nmusatti
Date: 2008-10-01 18:39:30 EDT (Wed, 01 Oct 2008)
New Revision: 49100
URL: http://svn.boost.org/trac/boost/changeset/49100

Log:
Merge from trunk
Text files modified:
   branches/bcbboost/tools/build/v2/tools/darwin.jam | 6 +++++-
   1 files changed, 5 insertions(+), 1 deletions(-)

Modified: branches/bcbboost/tools/build/v2/tools/darwin.jam
==============================================================================
--- branches/bcbboost/tools/build/v2/tools/darwin.jam (original)
+++ branches/bcbboost/tools/build/v2/tools/darwin.jam 2008-10-01 18:39:30 EDT (Wed, 01 Oct 2008)
@@ -350,10 +350,14 @@
     prepare-framework-path $(<) ;
 }
 
+# Note that using strip without any options was reported to result in broken
+# binaries, at least on OS X 10.5.5, see:
+# http://svn.boost.org/trac/boost/ticket/2347
+# So we pass -S -x.
 actions link bind LIBRARIES
 {
     "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST) $(FRAMEWORK_PATH) -framework$(_)$(FRAMEWORK:D=:S=) $(OPTIONS) $(USER_OPTIONS)
- $(NEED_STRIP)"$(.STRIP)" $(NEED_STRIP)"$(<)"
+ $(NEED_STRIP)"$(.STRIP)" $(NEED_STRIP)-S $(NEED_STRIP)-x $(NEED_STRIP)"$(<)"
 }
 
 rule link.dll


Boost-Commit list run by bdawes at acm.org, david.abrahams at rcn.com, gregod at cs.rpi.edu, cpdaniel at pacbell.net, john at johnmaddock.co.uk