From ec311430e2fd66492498a1559f56ef25e1192266 Mon Sep 17 00:00:00 2001 From: Brian Behlendorf Date: Thu, 1 Apr 2021 16:53:05 -0700 Subject: Bump libzfs.so and libzpool.so versions Bump the library versions as advised by the libtool guidelines. https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html Two new functions were added but no existing functions were changed, so we increase the version and the age (version:revision:age). Added functions (2): - boolean_t zpool_is_draid_spare(const char *); - zpool_compat_status_t zpool_load_compat(const char *, boolean_t *, char *, char *); Additionally bump the libzpool.so version information. This library is for internal use but we still want to update the version to track major changes to the interfaces. The libzfsbootenv, libuutil, libnvpair and libzfs_core libraries have not been updated. Reviewed-by: Richard Laager Signed-off-by: Brian Behlendorf Closes #11817 --- lib/libzfs/Makefile.am | 2 +- lib/libzpool/Makefile.am | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) (limited to 'lib') diff --git a/lib/libzfs/Makefile.am b/lib/libzfs/Makefile.am index 621021a12..1a7698b47 100644 --- a/lib/libzfs/Makefile.am +++ b/lib/libzfs/Makefile.am @@ -87,7 +87,7 @@ if BUILD_FREEBSD libzfs_la_LIBADD += -lutil -lgeom endif -libzfs_la_LDFLAGS += -version-info 4:0:0 +libzfs_la_LDFLAGS += -version-info 5:0:1 include $(top_srcdir)/config/CppCheck.am diff --git a/lib/libzpool/Makefile.am b/lib/libzpool/Makefile.am index 929f5bed8..c9a55591e 100644 --- a/lib/libzpool/Makefile.am +++ b/lib/libzpool/Makefile.am @@ -230,7 +230,7 @@ if BUILD_FREEBSD libzpool_la_LIBADD += -lgeom endif -libzpool_la_LDFLAGS += -version-info 4:0:0 +libzpool_la_LDFLAGS += -version-info 5:0:0 if TARGET_CPU_POWERPC vdev_raidz_math_powerpc_altivec.$(OBJEXT): CFLAGS += -maltivec -- cgit v1.2.3