path: root/lib/
diff options
authorJan Engelhardt <>2012-07-01 20:36:19 +0200
committerJozsef Kadlecsik <>2012-07-01 22:44:36 +0200
commita1bd9d61b643da9e24ae53b7e321bc4d32c59e8f (patch)
tree534869e92d2c75e261dcfac9166334590e74c885 /lib/
parent7c7b022a18ea2bae11d889b345caef87f3bf145e (diff)
build: restore -version-info
On Sunday 2012-07-01 19:20, Jozsef Kadlecsik wrote: >[...] >> * therefore the patch makes a clean restart, >> using -version-info 3:0:0, to continue using .so.3 >> starting from ipset-6.13 until the next *real* >> incompatible change. > >What is still unclear for me, why a clean restart is required. Looking >into "libtool", as I see, "-version-number 3:0:1" and "-version-info >3:0:1" produces the same result. They don't. The libtool manual goes on attempting to explain "-version-number" with C:R:A, though it could have been a lot easier to just say "it copies the values as-is to the file suffix". ---8<--- location git:// (updated) parent 7c7b022a18ea2bae11d889b345caef87f3bf145e (v6.13) commit 2b145f0794de6f56eaded0a6403be995be98c93b Author: Jan Engelhardt <> Date: Sat Jun 30 20:39:27 2012 +0200 build: restore -version-info Commit v6.13~7 accidentally swapped "-version-info" with "-version-number". Because "-version-number" takes the values "FIRST:AGE:REV", which is different from "-version-info CURRENT:REV:AGE", was emitted. Restore using "-version-info" and continue to use 3 as the "FIRST" interface (instead of 2), because it was declared that way in ipset-6.13. Also note that the version names in generally are not supposed to follow SO versions, but the program version): IPSET_6.13 {...}. Signed-off-by: Jozsef Kadlecsik <>
Diffstat (limited to 'lib/')
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ b/lib/
index 392b5f9..fd853dd 100644
--- a/lib/
+++ b/lib/
@@ -19,7 +19,7 @@ lib_LTLIBRARIES =
include $(top_srcdir)/lib/
-libipset_la_LDFLAGS = -Wl,--version-script=$(top_srcdir)/lib/ -version-number $(LIBVERSION)
+libipset_la_LDFLAGS = -Wl,--version-script=$(top_srcdir)/lib/ -version-info $(LIBVERSION)
libipset_la_SOURCES = \
data.c \