bstinson / rpms / mozjs60

Forked from rpms/mozjs60 5 years ago
Clone

Blame SOURCES/fix-soname.patch

dc9548
From: "Laszlo Boszormenyi (GCS)" <gcs@debian.org>
dc9548
Date: Fri, 2 May 2014 22:20:45 +0200
dc9548
Subject: fix soname
dc9548
dc9548
Add soname switch to linker, regardless of Operating System
dc9548
dc9548
Bug-Debian: http://bugs.debian.org/746705
dc9548
---
dc9548
 config/rules.mk | 3 +++
dc9548
 1 file changed, 3 insertions(+)
dc9548
dc9548
diff --git a/config/rules.mk b/config/rules.mk
dc9548
index eb86b0c..1bb3988 100644
dc9548
--- a/config/rules.mk
dc9548
+++ b/config/rules.mk
dc9548
@@ -359,6 +359,9 @@ endif
dc9548
 endif
dc9548
 EXTRA_DEPS += $(SYMBOLS_FILE)
dc9548
 endif
dc9548
+
dc9548
+EXTRA_DSO_LDOPTS += -Wl,-soname,lib$(JS_LIBRARY_NAME).so.0
dc9548
+
dc9548
 #
dc9548
 # GNU doesn't have path length limitation
dc9548
 #