From b6fec08da111b3f5cf5ac475c3411d9adf7bca78 Mon Sep 17 00:00:00 2001 From: "Nicolas Chauvet (kwizart)" Date: Tue, 20 Feb 2018 16:05:52 +0100 Subject: [PATCH] Freeze ABI compatibility with LIB_MAJOR (#589) This is a convention that binary compatibity uses one number. Using that, it's possible to have bugfixes releases (patchlevel incremented) and enhancement release (minor incremented with no public interface removed). Here is more information about convention https://autotools.io/libtool/version.html (libtool isn't relevant to this project, but the explanation hold) Signed-off-by: Nicolas Chauvet --- GNUmakefile | 4 ++-- GNUmakefile-cross | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/GNUmakefile b/GNUmakefile index 7de31b00..c298ee5a 100755 --- a/GNUmakefile +++ b/GNUmakefile @@ -688,8 +688,8 @@ endif ifeq ($(HAS_SOLIB_VERSION),1) # Full version suffix for shared library SOLIB_VERSION_SUFFIX=.$(LIB_MAJOR).$(LIB_MINOR).$(LIB_PATCH) -# Different patchlevels are compatible, minor versions are not -SOLIB_COMPAT_SUFFIX=.$(LIB_MAJOR).$(LIB_MINOR) +# Different patchlevels and minors are compatible since 6.1 +SOLIB_COMPAT_SUFFIX=.$(LIB_MAJOR) SOLIB_FLAGS=-Wl,-soname,libcryptopp.so$(SOLIB_COMPAT_SUFFIX) endif # HAS_SOLIB_VERSION diff --git a/GNUmakefile-cross b/GNUmakefile-cross index 79cdf31f..6789c55f 100755 --- a/GNUmakefile-cross +++ b/GNUmakefile-cross @@ -332,8 +332,8 @@ endif ifeq ($(HAS_SOLIB_VERSION),1) # Full version suffix for shared library SOLIB_VERSION_SUFFIX=.$(LIB_MAJOR).$(LIB_MINOR).$(LIB_PATCH) -# Different patchlevels are compatible, minor versions are not -SOLIB_COMPAT_SUFFIX=.$(LIB_MAJOR).$(LIB_MINOR) +# Different patchlevels and minors are compatible since 6.1 +SOLIB_COMPAT_SUFFIX=.$(LIB_MAJOR) SOLIB_FLAGS=-Wl,-soname,libcryptopp.so$(SOLIB_COMPAT_SUFFIX) endif # HAS_SOLIB_VERSION