Blame SOURCES/fix-soname.patch
|
|
95a8a7 |
From: Laszlo Boszormenyi (GCS) <gcs@debian.org>
|
|
|
95a8a7 |
Date: Fri, 02 May 2014 22:20:45 +0200
|
|
|
95a8a7 |
Subject: fix soname
|
|
|
95a8a7 |
|
|
|
95a8a7 |
Add soname switch to linker, regardless of Operating System
|
|
|
95a8a7 |
|
|
|
95a8a7 |
Bug-Debian: http://bugs.debian.org/746705
|
|
|
95a8a7 |
---
|
|
|
95a8a7 |
config/rules.mk | 5 +++--
|
|
|
95a8a7 |
1 file changed, 3 insertions(+), 2 deletions(-)
|
|
|
95a8a7 |
|
|
|
95a8a7 |
Index: mozjs52-52.2.1~artful1/config/rules.mk
|
|
|
95a8a7 |
===================================================================
|
|
|
95a8a7 |
--- mozjs52-52.2.1~artful1.orig/config/rules.mk
|
|
|
95a8a7 |
+++ mozjs52-52.2.1~artful1/config/rules.mk
|
|
|
95a8a7 |
@@ -418,7 +418,7 @@ endif # AIX
|
|
|
95a8a7 |
#
|
|
|
95a8a7 |
# Linux: add -Bsymbolic flag for components
|
|
|
95a8a7 |
#
|
|
|
95a8a7 |
-ifeq ($(OS_ARCH),Linux)
|
|
|
95a8a7 |
+#ifeq ($(OS_ARCH),Linux)
|
|
|
95a8a7 |
ifdef IS_COMPONENT
|
|
|
95a8a7 |
EXTRA_DSO_LDOPTS += -Wl,-Bsymbolic
|
|
|
95a8a7 |
endif
|
|
|
95a8a7 |
@@ -426,7 +426,8 @@ ifdef LD_VERSION_SCRIPT
|
|
|
95a8a7 |
EXTRA_DSO_LDOPTS += -Wl,--version-script,$(LD_VERSION_SCRIPT)
|
|
|
95a8a7 |
EXTRA_DEPS += $(LD_VERSION_SCRIPT)
|
|
|
95a8a7 |
endif
|
|
|
95a8a7 |
-endif
|
|
|
95a8a7 |
+#endif
|
|
|
95a8a7 |
+EXTRA_DSO_LDOPTS += -Wl,-soname,lib$(JS_LIBRARY_NAME).so.0
|
|
|
95a8a7 |
|
|
|
95a8a7 |
ifdef SYMBOLS_FILE
|
|
|
95a8a7 |
ifeq ($(OS_TARGET),WINNT)
|