aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorlloyd <[email protected]>2011-04-11 18:52:02 +0000
committerlloyd <[email protected]>2011-04-11 18:52:02 +0000
commit14fa61b489d059e7a7b10a205a4b0b498fac1695 (patch)
treec402278fe2002db68c37fda82f3b26719cfca934 /src
parentc0dfc62301fc7c30262d8381bb731c39e948a75c (diff)
I think this fixes the soname stuff
Diffstat (limited to 'src')
-rw-r--r--src/build-data/makefile/unix_shr.in5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/build-data/makefile/unix_shr.in b/src/build-data/makefile/unix_shr.in
index 8691a08de..db89f6c88 100644
--- a/src/build-data/makefile/unix_shr.in
+++ b/src/build-data/makefile/unix_shr.in
@@ -11,7 +11,6 @@ LINK_TO = %{link_to}
# Version Numbers
VERSION = %{version}
-SO_VERSION = %{so_version}
# Installation Settings
DESTDIR = %{prefix}
@@ -57,8 +56,8 @@ LIBRARIES = $(STATIC_LIB) $(SHARED_LIB)
LIBNAME = %{lib_prefix}libbotan
STATIC_LIB = $(LIBNAME).a
-SHARED_LIB = $(LIBNAME).%{so_suffix}.$(VERSION)
-SONAME = $(LIBNAME).%{so_suffix}.$(SO_VERSION)
+SONAME = $(LIBNAME)-%{version_major}.%{version_minor}.%{so_suffix}
+SHARED_LIB = $(SONAME).%{version_patch}
SYMLINK = libbotan.%{so_suffix}