Blame SOURCES/fix-soname.patch

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