[DVDnav-discuss] libdvdread so version

Marcel J.E. Mol marcel at mesa.nl
Sun Feb 23 12:06:32 CET 2014


Hi,

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.

I'm not to familar with autotools, but configure.ac defines
    DVDREAD_LT_CURRENT=5
    DVDREAD_LT_AGE=1
    DVDREAD_LT_REVISION=2

in both versions. It sems somehow LT_AGE an LT_REVISION are reversed???

For what it's worth, I build on Fedora 20 and on openembedded with the
same results.

A patch that would fix this is attached  (somehow git format-patch does
nothing...)

Thanks,

-Marcel

-- 
     ======--------         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 9316feaf2a02dc905f15eeb339f31f8c2c7516d4
Author: Marcel Mol <marcel at mesa.nl>
Date:   Sun Feb 23 12:03:50 2014 +0100

    Fix .so version order

diff --git a/configure.ac b/configure.ac
index 7052f52..f076b12 100644
--- a/configure.ac
+++ b/configure.ac
@@ -43,7 +43,7 @@ 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