init
[boost.git] / boost-gcc-soname.patch
1 *** tools/build/v2/tools/gcc.jam.orig   2007-05-03 08:09:04.000000000 +0200
2 --- tools/build/v2/tools/gcc.jam        2007-06-26 20:37:44.000000000 +0200
3 *************** if [ os.name ] != NT && [ os.name ] != O
4 *** 316,322 ****
5       # expected, therefore it has been disabled.
6   
7       HAVE_SONAME   = "" ;
8 !     SONAME_OPTION = -h ;
9   }
10   
11   
12 --- 316,323 ----
13       # expected, therefore it has been disabled.
14   
15       HAVE_SONAME   = "" ;
16 !     SONAME_OPTION = -soname ;
17 !     SONAME_VERSION = 3 ;
18   }
19   
20   
21 *************** rule link.dll ( targets * : sources * : 
22 *** 631,637 ****
23   # Differ from 'link' above only by -shared.
24   actions link.dll bind LIBRARIES
25   {
26 !     "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,$(RPATH_OPTION:E=-R)$(SPACE)-Wl,"$(RPATH)" "$(.IMPLIB-COMMAND)$(<[1])" -o "$(<[-1])" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,$(<[-1]:D=) -shared $(START-GROUP) "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)
27   }
28   
29   # Set up threading support. It's somewhat contrived, so perform it at the end,
30 --- 632,638 ----
31   # Differ from 'link' above only by -shared.
32   actions link.dll bind LIBRARIES
33   {
34 !     "$(CONFIG_COMMAND)" -L"$(LINKPATH)" -Wl,$(RPATH_OPTION:E=-R)$(SPACE)-Wl,"$(RPATH)" "$(.IMPLIB-COMMAND)$(<[1])" -o "$(<[-1])" $(HAVE_SONAME)-Wl,$(SONAME_OPTION)$(SPACE)-Wl,$(<[-1]:D=).$(SONAME_VERSION) -shared $(START-GROUP) "$(>)" "$(LIBRARIES)" -l$(FINDLIBS-ST) -l$(FINDLIBS-SA) $(END-GROUP) $(OPTIONS) $(USER_OPTIONS)
35   }
36   
37   # Set up threading support. It's somewhat contrived, so perform it at the end,