diff options
Diffstat (limited to 'debian/patches/soname.patch')
-rw-r--r-- | debian/patches/soname.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/debian/patches/soname.patch b/debian/patches/soname.patch new file mode 100644 index 0000000..109fc1f --- /dev/null +++ b/debian/patches/soname.patch @@ -0,0 +1,26 @@ +From c6bccac54f80dda499f057235b2ebedad2ddc177 Mon Sep 17 00:00:00 2001 +From: Tzafrir Cohen <tzafrir@debian.org> +Date: Fri, 19 Apr 2013 12:03:55 +0300 +Subject: [PATCH] Include version number in SONAME + +The SONAME should include the version number. +--- + build/rules.mak | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/build/rules.mak b/build/rules.mak +index dc74f52..47bc28b 100644 +--- a/build/rules.mak ++++ b/build/rules.mak +@@ -13,7 +13,7 @@ SHLIB = $($(APP)_SHLIB) + SONAME = $($(APP)_SONAME) + + ifeq ($(SHLIB_SUFFIX),so) +-SHLIB_OPT := -shared -Wl,-soname,$(SONAME) ++SHLIB_OPT := -shared -Wl,-soname,$(SHLIB) + else + SHLIB_OPT := + endif +-- +1.7.10.4 + |