mirror of
https://gitlab.freedesktop.org/libbsd/libbsd.git
synced 2025-01-08 11:02:24 +01:00
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.
This commit is contained in:
parent
b6d6da4cd4
commit
c8e5338a7c
10
configure.ac
10
configure.ac
@ -16,12 +16,12 @@ AM_INIT_AUTOMAKE(
|
|||||||
)
|
)
|
||||||
AM_SILENT_RULES([yes])
|
AM_SILENT_RULES([yes])
|
||||||
|
|
||||||
LIBBSD_ABI_MAJOR=0
|
SOVERSION_MAJOR=0
|
||||||
LIBBSD_ABI_MINOR=11
|
SOVERSION_MINOR=11
|
||||||
LIBBSD_ABI_PATCH=8
|
SOVERSION_PATCH=8
|
||||||
|
|
||||||
LIBBSD_ABI="$LIBBSD_ABI_MAJOR:$LIBBSD_ABI_MINOR:$LIBBSD_ABI_PATCH"
|
SOVERSION="$SOVERSION_MAJOR:$SOVERSION_MINOR:$SOVERSION_PATCH"
|
||||||
AC_SUBST([LIBBSD_ABI])
|
AC_SUBST([SOVERSION])
|
||||||
|
|
||||||
# Check and store if we got user supplied variables
|
# Check and store if we got user supplied variables
|
||||||
user_CFLAGS=${CFLAGS-unset}
|
user_CFLAGS=${CFLAGS-unset}
|
||||||
|
@ -61,7 +61,7 @@ libbsd_la_LIBADD = \
|
|||||||
# EOL
|
# EOL
|
||||||
libbsd_la_LDFLAGS = \
|
libbsd_la_LDFLAGS = \
|
||||||
-no-undefined \
|
-no-undefined \
|
||||||
-version-number $(LIBBSD_ABI) \
|
-version-number $(SOVERSION) \
|
||||||
# EOL
|
# EOL
|
||||||
if HAVE_LINKER_VERSION_SCRIPT
|
if HAVE_LINKER_VERSION_SCRIPT
|
||||||
libbsd_la_LDFLAGS += \
|
libbsd_la_LDFLAGS += \
|
||||||
|
Loading…
Reference in New Issue
Block a user