Boost logo

Boost-Commit :

From: kbelco_at_[hidden]
Date: 2007-09-26 23:41:12


Author: noel_belcourt
Date: 2007-09-26 23:41:11 EDT (Wed, 26 Sep 2007)
New Revision: 39563
URL: http://svn.boost.org/trac/boost/changeset/39563

Log:
Fix pathscale.jam so -rpath is passed correctly to the
linker.

Text files modified:
   trunk/tools/build/v2/tools/pathscale.jam | 4 ++--
   1 files changed, 2 insertions(+), 2 deletions(-)

Modified: trunk/tools/build/v2/tools/pathscale.jam
==============================================================================
--- trunk/tools/build/v2/tools/pathscale.jam (original)
+++ trunk/tools/build/v2/tools/pathscale.jam 2007-09-26 23:41:11 EDT (Wed, 26 Sep 2007)
@@ -128,7 +128,7 @@
 
 actions link bind LIBRARIES
 {
- "$(CONFIG_COMMAND)" $(OPTIONS) -L"$(LINKPATH)" -R"$(RPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST)
+ "$(CONFIG_COMMAND)" $(OPTIONS) -L"$(LINKPATH)" -Wl,-rpath"$(RPATH)" -o "$(<)" "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST)
 }
 
 # Slight mods for dlls
@@ -139,7 +139,7 @@
 
 actions link.dll bind LIBRARIES
 {
- "$(CONFIG_COMMAND)" $(OPTIONS) -L"$(LINKPATH)" -R"$(RPATH)" -o "$(<)" -Wl,-soname$(SPACE)-Wl,$(<[1]:D=) -shared "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST)
+ "$(CONFIG_COMMAND)" $(OPTIONS) -L"$(LINKPATH)" -Wl,-rpath"$(RPATH)" -o "$(<)" -Wl,-soname$(SPACE)-Wl,$(<[1]:D=) -shared "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-SA) -l$(FINDLIBS-ST)
 }
 
 # Declare action for creating static libraries


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