Skip to content

Commit d5b8e85

Browse files
committed
build: Rename LIBMD_ABI to SOVERSION
This matches the semantics of the variable, and makes it independent of the project, just as the package variables.
1 parent ea62163 commit d5b8e85

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

configure.ac

+5-5
Original file line numberDiff line numberDiff line change
@@ -15,12 +15,12 @@ AM_INIT_AUTOMAKE(
1515
)
1616
AM_SILENT_RULES([yes])
1717

18-
LIBMD_ABI_MAJOR=0
19-
LIBMD_ABI_MINOR=1
20-
LIBMD_ABI_PATCH=0
18+
SOVERSION_MAJOR=0
19+
SOVERSION_MINOR=1
20+
SOVERSION_PATCH=0
2121

22-
LIBMD_ABI="$LIBMD_ABI_MAJOR:$LIBMD_ABI_MINOR:$LIBMD_ABI_PATCH"
23-
AC_SUBST([LIBMD_ABI])
22+
SOVERSION="$SOVERSION_MAJOR:$SOVERSION_MINOR:$SOVERSION_PATCH"
23+
AC_SUBST([SOVERSION])
2424

2525
# Check and store if we got user supplied variables.
2626
user_CFLAGS=${CFLAGS-unset}

src/Makefile.am

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ EXTRA_libmd_la_DEPENDENCIES = \
3131

3232
libmd_la_LDFLAGS = \
3333
-no-undefined \
34-
-version-number $(LIBMD_ABI) \
34+
-version-number $(SOVERSION) \
3535
# EOL
3636
if HAVE_LINKER_VERSION_SCRIPT
3737
libmd_la_LDFLAGS += \

0 commit comments

Comments
 (0)