diff options
author | Britney Fransen <brfransen@gmail.com> | 2018-04-27 13:34:54 (GMT) |
---|---|---|
committer | Britney Fransen <brfransen@gmail.com> | 2018-04-27 13:34:54 (GMT) |
commit | ef0a21c1b5b942595b706064f4122ed16fc4a0a9 (patch) | |
tree | 5b35ade3d85026d56455eb89ba35c815262f2fcf /abs/extra/js52/mozjs52-fix-soname.patch | |
parent | 168df166590c264c05a7385776d80c30591a6ba6 (diff) | |
download | linhes_pkgbuild-ef0a21c1b5b942595b706064f4122ed16fc4a0a9.zip linhes_pkgbuild-ef0a21c1b5b942595b706064f4122ed16fc4a0a9.tar.gz linhes_pkgbuild-ef0a21c1b5b942595b706064f4122ed16fc4a0a9.tar.bz2 |
js52: dep of polkit
Diffstat (limited to 'abs/extra/js52/mozjs52-fix-soname.patch')
-rw-r--r-- | abs/extra/js52/mozjs52-fix-soname.patch | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/abs/extra/js52/mozjs52-fix-soname.patch b/abs/extra/js52/mozjs52-fix-soname.patch new file mode 100644 index 0000000..a91107c --- /dev/null +++ b/abs/extra/js52/mozjs52-fix-soname.patch @@ -0,0 +1,34 @@ +From: Laszlo Boszormenyi (GCS) <gcs@debian.org> +Date: Fri, 02 May 2014 22:20:45 +0200 +Subject: fix soname + +Add soname switch to linker, regardless of Operating System + +Bug-Debian: http://bugs.debian.org/746705 +--- + config/rules.mk | 5 +++-- + 1 file changed, 3 insertions(+), 2 deletions(-) + +Index: mozjs52-52.2.1~artful1/config/rules.mk +=================================================================== +--- mozjs52-52.2.1~artful1.orig/config/rules.mk ++++ mozjs52-52.2.1~artful1/config/rules.mk +@@ -418,7 +418,7 @@ endif # AIX + # + # Linux: add -Bsymbolic flag for components + # +-ifeq ($(OS_ARCH),Linux) ++#ifeq ($(OS_ARCH),Linux) + ifdef IS_COMPONENT + EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic + endif +@@ -426,7 +426,8 @@ ifdef LD_VERSION_SCRIPT + EXTRA_DSO_LDOPTS += -Wl,--version-script,$(LD_VERSION_SCRIPT) + EXTRA_DEPS += $(LD_VERSION_SCRIPT) + endif +-endif ++#endif ++EXTRA_DSO_LDOPTS += -Wl,-soname,lib$(JS_LIBRARY_NAME).so.0 + + ifdef SYMBOLS_FILE + ifeq ($(OS_TARGET),WINNT) |