[PATCH] build: fix incorrect library versioning

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Commit v6.20~12 caused libipset to shift from libipset.so.3 to
.so.2. That is the wrong thing to do. Set it back to 3+2, as
intended.
---
 Make_global.am   | 2 +-
 lib/libipset.map | 4 ++++
 2 files changed, 5 insertions(+), 1 deletion(-)

diff --git a/Make_global.am b/Make_global.am
index 9c228cc..33645da 100644
--- a/Make_global.am
+++ b/Make_global.am
@@ -69,7 +69,7 @@
 # interface. 
 
 #            curr:rev:age
-LIBVERSION = 4:1:2
+LIBVERSION = 5:0:2
 
 AM_CPPFLAGS = $(kinclude_CFLAGS) $(all_includes) -I$(top_srcdir)/include \
 	-I/usr/local/include
diff --git a/lib/libipset.map b/lib/libipset.map
index ab0b96f..1080f0d 100644
--- a/lib/libipset.map
+++ b/lib/libipset.map
@@ -1,3 +1,7 @@
+/*
+ * These are library version numbers in here - not to be confused
+ * with the API numbers used with libtool's -version-info string.
+ */
 LIBIPSET_1.0 {
 global:
   ipset_strlcpy;
-- 
1.8.2

--
To unsubscribe from this list: send the line "unsubscribe netfilter-devel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Netfitler Users]     [LARTC]     [Bugtraq]     [Yosemite Forum]

  Powered by Linux