From: Guillem Jover Date: Wed, 21 Feb 2024 01:05:57 +0000 (+0100) Subject: build: Rename LIBBSD_ABI to SOVERSION X-Git-Tag: 0.12.0~12 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c8e5338a7c5010d131a920c245d27618b01bde59;p=thirdparty%2Flibbsd.git build: Rename LIBBSD_ABI to SOVERSION This matches the semantics of the variable, and makes it independent of the project, just as the package variables. --- diff --git a/configure.ac b/configure.ac index b9930e5..7e3fb35 100644 --- a/configure.ac +++ b/configure.ac @@ -16,12 +16,12 @@ AM_INIT_AUTOMAKE( ) AM_SILENT_RULES([yes]) -LIBBSD_ABI_MAJOR=0 -LIBBSD_ABI_MINOR=11 -LIBBSD_ABI_PATCH=8 +SOVERSION_MAJOR=0 +SOVERSION_MINOR=11 +SOVERSION_PATCH=8 -LIBBSD_ABI="$LIBBSD_ABI_MAJOR:$LIBBSD_ABI_MINOR:$LIBBSD_ABI_PATCH" -AC_SUBST([LIBBSD_ABI]) +SOVERSION="$SOVERSION_MAJOR:$SOVERSION_MINOR:$SOVERSION_PATCH" +AC_SUBST([SOVERSION]) # Check and store if we got user supplied variables user_CFLAGS=${CFLAGS-unset} diff --git a/src/Makefile.am b/src/Makefile.am index 060e360..67a01df 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -61,7 +61,7 @@ libbsd_la_LIBADD = \ # EOL libbsd_la_LDFLAGS = \ -no-undefined \ - -version-number $(LIBBSD_ABI) \ + -version-number $(SOVERSION) \ # EOL if HAVE_LINKER_VERSION_SCRIPT libbsd_la_LDFLAGS += \