Skip to content
Snippets Groups Projects
Commit d111a29a authored by Steve Lhomme's avatar Steve Lhomme
Browse files

configure: add global build values for the libtool version-info

See https://www.gnu.org/software/libtool/manual/html_node/Updating-version-info.html
parent 8c2b60de
No related branches found
No related tags found
No related merge requests found
......@@ -9,6 +9,11 @@ VERSION_REVISION=0
VERSION_EXTRA=0
VERSION_DEV=dev
# libtool version-info values
LIBVLC_ABI_LT_CURRENT=12
LIBVLC_ABI_LT_REVISION=0
LIBVLC_ABI_LT_AGE=0
PKGDIR="vlc"
AC_SUBST([PKGDIR])
......@@ -4632,6 +4637,9 @@ AC_SUBST([VERSION_MAJOR])
AC_SUBST([VERSION_MINOR])
AC_SUBST([VERSION_REVISION])
AC_SUBST([VERSION_EXTRA])
AC_SUBST([LIBVLC_ABI_LT_CURRENT])
AC_SUBST([LIBVLC_ABI_LT_REVISION])
AC_SUBST([LIBVLC_ABI_LT_AGE])
AC_SUBST([COPYRIGHT_YEARS])
AS_IF([test -z "$VLC_COMPILE_BY"],[
VLC_COMPILE_BY=`whoami|sed -e 's/\\\/\\\\\\\/g'`
......
......@@ -61,7 +61,7 @@ libvlc_la_LIBADD = ../src/libvlccore.la ../compat/libcompat.la $(LIBM)
libvlc_la_LDFLAGS = \
$(LDFLAGS_libvlc) \
-no-undefined \
-version-info 12:0:0 \
-version-info @LIBVLC_ABI_LT_CURRENT@:@LIBVLC_ABI_LT_REVISION@:@LIBVLC_ABI_LT_AGE@ \
-export-symbols $(srcdir)/libvlc.sym
libvlc_la_DEPENDENCIES = libvlc.sym
if HAVE_WIN32
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment