slackware-current/source/l/mozjs60/patches/fix-soname.patch
Patrick J Volkerding e37e24f7e5 Wed Dec 11 21:03:27 UTC 2019
ap/mariadb-10.4.11-x86_64-1.txz:  Upgraded.
d/cmake-3.16.1-x86_64-1.txz:  Upgraded.
d/git-2.24.1-x86_64-1.txz:  Upgraded.
l/mozjs52-52.9.0esr-x86_64-2.txz:  Removed.
  This was used only by polkit-0.115.
l/mozjs60-60.9.0esr-x86_64-1.txz:  Added.
  This is needed for polkit-0.116.
l/polkit-0.116-x86_64-1.txz:  Upgraded.
n/ModemManager-1.12.2-x86_64-1.txz:  Upgraded.
xap/xine-ui-0.99.12-x86_64-1.txz:  Upgraded.
2019-12-12 08:59:50 +01:00

25 lines
579 B
Diff

From: "Laszlo Boszormenyi (GCS)" <gcs@debian.org>
Date: Fri, 2 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 | 3 +++
1 file changed, 3 insertions(+)
diff --git a/config/rules.mk b/config/rules.mk
index eb86b0c..1bb3988 100644
--- a/config/rules.mk
+++ b/config/rules.mk
@@ -359,6 +359,9 @@ endif
endif
EXTRA_DEPS += $(SYMBOLS_FILE)
endif
+
+EXTRA_DSO_LDOPTS += -Wl,-soname,lib$(JS_LIBRARY_NAME).so.0
+
#
# GNU doesn't have path length limitation
#