diff --git a/Makefile.am b/Makefile.am index ae800a55..144a5acd 100644 --- a/Makefile.am +++ b/Makefile.am @@ -90,7 +90,6 @@ LIBS = $(JSON_LIBS) $(GLIB_LIBS) @LIBS@ lib_LTLIBRARIES = libmypaint.la libmypaint_la_LDFLAGS = \ - -release @LIBMYPAINT_API_PLATFORM_VERSION@ \ -version-info @LIBMYPAINT_ABI_VERSION_INFO@ \ -no-undefined diff --git a/configure.ac b/configure.ac index 527d753c..9a4109d2 100644 --- a/configure.ac +++ b/configure.ac @@ -17,9 +17,21 @@ m4_define([libmypaint_api_prerelease], []) # may be blank # https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html # The rules are fiddly, and are summarized here. -m4_define([libmypaint_abi_revision], [2]) # increment on every release -m4_define([libmypaint_abi_current], [2]) # inc when add/remove/change interfaces -m4_define([libmypaint_abi_age], [1]) # inc only if changes backward compat +# NOTE: Due to the use of the ``-release`` flag, prior to the 1.6.1 release, +# the ABI version fields were not used in a meaningful way, since the SONAME +# differed even for ABI-compatible versions of the library. + +# Increment if any public interfaces have been +# added/removed/changed since the last release. +m4_define([libmypaint_abi_current], [0]) + +# Set to 0 if ``current`` is incremented, otherwise increment +# if the __code__ has changed at all since the last release. +m4_define([libmypaint_abi_revision], [0]) + +# Set to 0 if any public interfaces have been removed/changed since the last release, +# otherwise increment if any public interfaces have been __added__. +m4_define([libmypaint_abi_age], [0]) # inc only if changes backward compat ## Derivative version macros ##