Boost logo

Boost-Build :

From: Markus Schöpflin (markus.schoepflin_at_[hidden])
Date: 2006-03-10 08:26:53


Could anyone please verify that the attached patch doesn't break anything
and then either commit it or notify me in case of problems?

Thanks, Markus

Index: gcc.jam
===================================================================
RCS file: /cvsroot/boost/boost/tools/build/v2/tools/gcc.jam,v
retrieving revision 1.62
diff -u -w -r1.62 gcc.jam
--- gcc.jam 10 Mar 2006 11:51:24 -0000 1.62
+++ gcc.jam 10 Mar 2006 13:23:50 -0000
@@ -130,6 +130,15 @@
 if [ os.name ] != NT
 {
     HAVE_SONAME = "" ;
+
+ if [ os.name ] = OSF
+ {
+ SONAME_OPTION = -soname ;
+ }
+ else
+ {
+ SONAME_OPTION = -h ;
+ }
 }
 
 
@@ -352,7 +361,7 @@
 # Differ from 'link' above only by -shared.
 actions link.dll bind LIBRARIES
 {
- "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,-R$(SPACE)-Wl,"$(RPATH)" -o "$(<)" $(HAVE_SONAME)-Wl,-h$(SPACE)-Wl,$(<[1]:D=) -shared "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) $(OPTIONS) $(USER_OPTIONS)
+ "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,-R$(SPACE)-Wl,"$(RPATH)" -o "$(<)" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,$(<[1]:D=) -shared "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) $(OPTIONS) $(USER_OPTIONS)
 }
 
 # Set up threading support. It's somewhat contrived, so perform it at the end,


Boost-Build 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