Synchronize library ABI levels

Bump library SOVERSION under Linux to match FreeBSD's.

Additionally, this bump properly accounts for the ABI changes relative
to ZoL 0.8.5 for the Linux build.

Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov>
Signed-off-by: Antonio Russo <aerusso@aerusso.net>
Issue #11144
This commit is contained in:
Antonio Russo 2020-10-31 08:39:58 -06:00 committed by Brian Behlendorf
parent 181b2adc2a
commit 71ae6a9d23
5 changed files with 6 additions and 17 deletions

View File

@ -37,8 +37,4 @@ if !ASAN_ENABLED
libnvpair_la_LDFLAGS += -Wl,-z,defs libnvpair_la_LDFLAGS += -Wl,-z,defs
endif endif
if BUILD_FREEBSD
libnvpair_la_LDFLAGS += -version-info 3:0:0 libnvpair_la_LDFLAGS += -version-info 3:0:0
else
libnvpair_la_LDFLAGS += -version-info 1:1:0
endif

View File

@ -27,8 +27,4 @@ if !ASAN_ENABLED
libuutil_la_LDFLAGS += -Wl,-z,defs libuutil_la_LDFLAGS += -Wl,-z,defs
endif endif
if BUILD_FREEBSD
libuutil_la_LDFLAGS += -version-info 3:0:0 libuutil_la_LDFLAGS += -version-info 3:0:0
else
libuutil_la_LDFLAGS += -version-info 1:1:0
endif

View File

@ -84,10 +84,9 @@ endif
if BUILD_FREEBSD if BUILD_FREEBSD
libzfs_la_LIBADD += -lutil -lgeom libzfs_la_LIBADD += -lutil -lgeom
libzfs_la_LDFLAGS += -version-info 4:0:0
else
libzfs_la_LDFLAGS += -version-info 2:0:0
endif endif
libzfs_la_LDFLAGS += -version-info 4:0:0
# Licensing data # Licensing data
EXTRA_DIST = THIRDPARTYLICENSE.openssl THIRDPARTYLICENSE.openssl.descrip EXTRA_DIST = THIRDPARTYLICENSE.openssl THIRDPARTYLICENSE.openssl.descrip

View File

@ -23,7 +23,6 @@ endif
if BUILD_FREEBSD if BUILD_FREEBSD
libzfs_core_la_LIBADD += -lutil -lgeom libzfs_core_la_LIBADD += -lutil -lgeom
libzfs_core_la_LDFLAGS += -version-info 3:0:0
else
libzfs_core_la_LDFLAGS += -version-info 1:0:0
endif endif
libzfs_core_la_LDFLAGS += -version-info 3:0:0

View File

@ -226,11 +226,10 @@ endif
if BUILD_FREEBSD if BUILD_FREEBSD
libzpool_la_LIBADD += -lgeom libzpool_la_LIBADD += -lgeom
libzpool_la_LDFLAGS += -version-info 4:0:0
else
libzpool_la_LDFLAGS += -version-info 2:0:0
endif endif
libzpool_la_LDFLAGS += -version-info 4:0:0
if TARGET_CPU_POWERPC if TARGET_CPU_POWERPC
vdev_raidz_math_powerpc_altivec.$(OBJEXT): CFLAGS += -maltivec vdev_raidz_math_powerpc_altivec.$(OBJEXT): CFLAGS += -maltivec
vdev_raidz_math_powerpc_altivec.l$(OBJEXT): CFLAGS += -maltivec vdev_raidz_math_powerpc_altivec.l$(OBJEXT): CFLAGS += -maltivec