Boost logo

Boost-Commit :

From: ghost_at_[hidden]
Date: 2008-06-03 10:34:25


Author: vladimir_prus
Date: 2008-06-03 10:34:25 EDT (Tue, 03 Jun 2008)
New Revision: 46080
URL: http://svn.boost.org/trac/boost/changeset/46080

Log:
Properly set soname on aCC.

Thanks to Volker Steinlein for the bug report and testing this fix.

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

Modified: trunk/tools/build/v2/tools/acc.jam
==============================================================================
--- trunk/tools/build/v2/tools/acc.jam (original)
+++ trunk/tools/build/v2/tools/acc.jam 2008-06-03 10:34:25 EDT (Tue, 03 Jun 2008)
@@ -86,9 +86,10 @@
     $(CONFIG_COMMAND) -AA $(LINKFLAGS) -o "$(<[1])" -L$(LIBPATH) -L$(STDLIBPATH) "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" -l$(FINDLIBS) $(OPTIONS)
 }
 
+SPACE = " " ;
 actions acc.link.dll bind NEEDLIBS
 {
- $(CONFIG_COMMAND) -AA -b $(LINKFLAGS) -o "$(<[1])" -L$(LIBPATH) -L$(STDLIBPATH) "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" -l$(FINDLIBS) $(OPTIONS)
+ $(CONFIG_COMMAND) -AA -b $(LINKFLAGS) -o "$(<[1])" -Wl,+h$(SPACE)-Wl,$(<[-1]:D=) -L$(LIBPATH) -L$(STDLIBPATH) "$(>)" "$(NEEDLIBS)" "$(NEEDLIBS)" -l$(FINDLIBS) $(OPTIONS)
 }
 
 actions acc.compile.c


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