57 lines
1.6 KiB
Diff
57 lines
1.6 KiB
Diff
From cefd447e5528b08bb0cd6656bc52b4255692cefc Mon Sep 17 00:00:00 2001
|
|
From: Kevin Atkinson <kevina@gnu.org>
|
|
Date: Sat, 17 Aug 2019 20:25:21 -0400
|
|
Subject: [PATCH] Increment library version to reflect API changes.
|
|
|
|
---
|
|
Makefile.am | 24 +++++++++++++++++-------
|
|
1 file changed, 17 insertions(+), 7 deletions(-)
|
|
|
|
diff --git a/Makefile.am b/Makefile.am
|
|
index 950319d..3bbadb7 100644
|
|
--- a/Makefile.am
|
|
+++ b/Makefile.am
|
|
@@ -93,10 +93,24 @@ libaspell_la_SOURCES =\
|
|
|
|
libaspell_la_LIBADD = $(LTLIBINTL) $(PTHREAD_LIB)
|
|
|
|
+## The version string is current[:revision[:age]]
|
|
+##
|
|
+## Before a release that has changed the source code at all
|
|
+## increment revision.
|
|
+##
|
|
+## After merging changes that have changed the API in a backwards
|
|
+## comptable way set revision to 0 and bump both current and age.
|
|
+##
|
|
+## Do not change the API in a backwards incompatible way.
|
|
+##
|
|
+## See "Libtool: Updating version info"
|
|
+## (https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html)
|
|
+## for more into
|
|
+##
|
|
if INCREMENTED_SONAME
|
|
-libaspell_la_LDFLAGS = -version-info 16:5:0 -no-undefined
|
|
+libaspell_la_LDFLAGS = -version-info 19:0:3 -no-undefined
|
|
else
|
|
-libaspell_la_LDFLAGS = -version-info 16:5:1 -no-undefined
|
|
+libaspell_la_LDFLAGS = -version-info 18:0:3 -no-undefined
|
|
endif
|
|
|
|
if PSPELL_COMPATIBILITY
|
|
@@ -104,11 +118,7 @@ libpspell_la_SOURCES = lib/dummy.cpp
|
|
|
|
libpspell_la_LIBADD = libaspell.la
|
|
|
|
-if INCREMENTED_SONAME
|
|
-libpspell_la_LDFLAGS = -version-info 16:5:0 -no-undefined
|
|
-else
|
|
-libpspell_la_LDFLAGS = -version-info 16:5:1 -no-undefined
|
|
-endif
|
|
+libpspell_la_LDFLAGS = $(libaspell_la_LDFLAGS)
|
|
|
|
endif
|
|
|
|
--
|
|
2.27.0
|
|
|