Blame fix-soname.patch

95774b8
From d21c7cb9343d8c495d987e71be0f35887574c820 Mon Sep 17 00:00:00 2001
95774b8
From: =?UTF-8?q?Franti=C5=A1ek=20Zatloukal?= <fzatlouk@redhat.com>
95774b8
Date: Wed, 15 Jul 2020 08:21:47 +0200
95774b8
Subject: [PATCH] Add soname switch to linker, regardless of Operating System
95774b8
95774b8
Fix backported from Debian: http://bugs.debian.org/746705
95774b8
---
95774b8
 config/rules.mk | 2 ++
95774b8
 1 file changed, 2 insertions(+)
95774b8
95774b8
diff --git a/config/rules.mk b/config/rules.mk
95774b8
index 0f9b2ac..f6b4efe 100644
95774b8
--- a/config/rules.mk
95774b8
+++ b/config/rules.mk
95774b8
@@ -285,6 +285,8 @@ ifeq ($(OS_ARCH),GNU)
95774b8
 OS_CPPFLAGS += -DPATH_MAX=1024 -DMAXPATHLEN=1024
95774b8
 endif
95774b8
95774b8
+EXTRA_DSO_LDOPTS += -Wl,-soname,lib$(JS_LIBRARY_NAME).so.0
95774b8
+
95774b8
 #
95774b8
 # MINGW32
95774b8
 #
95774b8
--
95774b8
2.31.1
95774b8