Debian Codegraph @

debian/patches/fix-soname.patch

raw
1 From: "Laszlo Boszormenyi (GCS)" <[email protected]>
2 Date: Fri, 2 May 2014 22:20:45 +0200
3 Subject: fix soname
4
5 Add soname switch to linker, regardless of Operating System
6
7 Bug-Debian: http://bugs.debian.org/746705
8 ---
9 config/rules.mk | 2 ++
10 1 file changed, 2 insertions(+)
11
12 diff --git a/config/rules.mk b/config/rules.mk
13 index e1504bbd..c690718 100644
14 --- a/config/rules.mk
15 +++ b/config/rules.mk
16 @@ -289,6 +289,8 @@ ifeq ($(OS_ARCH),GNU)
17 OS_CPPFLAGS += -DPATH_MAX=1024 -DMAXPATHLEN=1024
18 endif
19
20 +EXTRA_DSO_LDOPTS += -Wl,-soname,lib$(JS_LIBRARY_NAME).so.0
21 +
22 #
23 # MINGW32
24 #