[DVDnav-discuss] libdvdread so version
Marcel J.E. Mol
marcel at mesa.nl
Sun Feb 23 14:12:33 CET 2014
Ok, here a slightly better patch. It also updates the comments in configure.ac.
Kind regards,
-Marcel
On Sun, Feb 23, 2014 at 12:12:02PM +0100, Jean-Baptiste Kempf wrote:
> On 23 Feb, Marcel J.E. Mol wrote :
> > When building libdvdread from svn I end up with libdvdread.so.4.1.2.
> > But when building from the new git repository I get libdvdread.so.3.2.1.
>
> Yep, that would be a bug. There is no reason why those are not ABI
> compatible.
>
> With my kindest regards,
>
> --
> Jean-Baptiste Kempf
> http://www.jbkempf.com/ - +33 672 704 734
> Sent from my Electronic Device
> _______________________________________________
> DVDnav-discuss mailing list
> DVDnav-discuss at mplayerhq.hu
> https://lists.mplayerhq.hu/mailman/listinfo/dvdnav-discuss
--
======-------- Marcel J.E. Mol MESA Consulting B.V.
=======--------- ph. +31-(0)6-54724868 P.O. Box 112
=======--------- marcel at mesa.nl 2630 AC Nootdorp
__==== www.mesa.nl ---____U_n_i_x______I_n_t_e_r_n_e_t____ The Netherlands ____
They couldn't think of a number, Linux user 1148 -- counter.li.org
so they gave me a name! -- Rupert Hine -- www.ruperthine.com
-------------- next part --------------
commit e3a0ade75b6bb96c21883e91693ac47eb10694e6
Author: Marcel Mol <marcel at mesa.nl>
Date: Sun Feb 23 12:03:50 2014 +0100
Fix .so version order
libtool defines version info as current:revision:age
configure.ac used current:age:revision
diff --git a/configure.ac b/configure.ac
index 7052f52..fd2ce0f 100644
--- a/configure.ac
+++ b/configure.ac
@@ -37,13 +37,13 @@ dnl * DVDREAD_LT_AGE is the number of previous API versions still supported by
dnl * libtool has its own numbering scheme, because local library numbering schemes
dnl are platform dependent
dnl * in Linux, the library will be named
-dnl libname.so.(DVDREAD_LT_CURRENT - DVDREAD_LT_AGE).DVDREAD_LT_AGE.DVDREAD_LT_REVISION
+dnl libname.so.(DVDREAD_LT_CURRENT - DVDREAD_LT_AGE).DVDREAD_LT_REVISION.DVDREAD_LT_AGE
DVDREAD_LT_CURRENT=5
DVDREAD_LT_AGE=1
DVDREAD_LT_REVISION=2
-AC_SUBST([DVDREAD_LTVERSION], [$DVDREAD_LT_CURRENT:$DVDREAD_LT_AGE:$DVDREAD_LT_REVISION])
+AC_SUBST([DVDREAD_LTVERSION], [$DVDREAD_LT_CURRENT:$DVDREAD_LT_REVISION:$DVDREAD_LT_AGE])
AC_PROG_CC
More information about the DVDnav-discuss
mailing list