Contents of /trunk/spidermonkey/patches/spidermonkey-52.7.3-fix-soname.patch
Parent Directory | Revision Log
Revision 3105 -
(show annotations)
(download)
Mon Apr 30 10:54:44 2018 UTC (6 years, 4 months ago) by niro
File size: 967 byte(s)
Mon Apr 30 10:54:44 2018 UTC (6 years, 4 months ago) by niro
File size: 967 byte(s)
-added spidermonkey-52.7.3 patches
1 | From: Laszlo Boszormenyi (GCS) <gcs@debian.org> |
2 | Date: Fri, 02 May 2014 22:20:45 +0200 |
3 | Subject: fix soname |
4 | |
5 | Add soname switch to linker, regardless of Operating System |
6 | |
7 | Bug-Debian: http://bugs.debian.org/746705 |
8 | --- |
9 | config/rules.mk | 5 +++-- |
10 | 1 file changed, 3 insertions(+), 2 deletions(-) |
11 | |
12 | Index: mozjs52-52.2.1~artful1/config/rules.mk |
13 | =================================================================== |
14 | --- mozjs52-52.2.1~artful1.orig/config/rules.mk |
15 | +++ mozjs52-52.2.1~artful1/config/rules.mk |
16 | @@ -418,7 +418,7 @@ endif # AIX |
17 | # |
18 | # Linux: add -Bsymbolic flag for components |
19 | # |
20 | -ifeq ($(OS_ARCH),Linux) |
21 | +#ifeq ($(OS_ARCH),Linux) |
22 | ifdef IS_COMPONENT |
23 | EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic |
24 | endif |
25 | @@ -426,7 +426,8 @@ ifdef LD_VERSION_SCRIPT |
26 | EXTRA_DSO_LDOPTS += -Wl,--version-script,$(LD_VERSION_SCRIPT) |
27 | EXTRA_DEPS += $(LD_VERSION_SCRIPT) |
28 | endif |
29 | -endif |
30 | +#endif |
31 | +EXTRA_DSO_LDOPTS += -Wl,-soname,lib$(JS_LIBRARY_NAME).so.0 |
32 | |
33 | ifdef SYMBOLS_FILE |
34 | ifeq ($(OS_TARGET),WINNT) |