mirror of
https://code.videolan.org/videolan/vlc
synced 2024-09-04 09:11:33 +02:00
configure: decode the libtool version-info from the .so version name
And not the (confusing) other way around.
This commit is contained in:
parent
a89da89042
commit
c0f2b668d6
13
configure.ac
13
configure.ac
@ -9,13 +9,14 @@ VERSION_REVISION=0
|
||||
VERSION_EXTRA=0
|
||||
VERSION_DEV=dev
|
||||
|
||||
# libvlc .so version values
|
||||
LIBVLC_ABI_MAJOR=12
|
||||
LIBVLC_ABI_MINOR=0
|
||||
LIBVLC_ABI_MICRO=0
|
||||
# libtool version-info values
|
||||
LIBVLC_ABI_LT_CURRENT=12
|
||||
LIBVLC_ABI_LT_REVISION=0
|
||||
LIBVLC_ABI_LT_AGE=0
|
||||
LIBVLC_ABI_MAJOR=`expr $LIBVLC_ABI_LT_CURRENT - $LIBVLC_ABI_LT_AGE`
|
||||
LIBVLC_ABI_MINOR=$LIBVLC_ABI_LT_AGE
|
||||
LIBVLC_ABI_MICRO=$LIBVLC_ABI_LT_REVISION
|
||||
LIBVLC_ABI_LT_CURRENT=`expr $LIBVLC_ABI_MAJOR + $LIBVLC_ABI_MINOR`
|
||||
LIBVLC_ABI_LT_REVISION=$LIBVLC_ABI_MICRO
|
||||
LIBVLC_ABI_LT_AGE=$LIBVLC_ABI_MINOR
|
||||
|
||||
PKGDIR="vlc"
|
||||
AC_SUBST([PKGDIR])
|
||||
|
Loading…
Reference in New Issue
Block a user