Hi,
I have a question about the versioning of libexif.
Current libexif set version in configure.ac as follow:
LIBEXIF_AGE=1
LIBEXIF_REVISION=0
LIBEXIF_CURRENT=12
AC_SUBST([LIBEXIF_AGE])
AC_SUBST([LIBEXIF_REVISION])
AC_SUBST([LIBEXIF_CURRENT])
LIBEXIF_VERSION_INFO=`expr $LIBEXIF_CURRENT + \
$LIBEXIF_REVISION`:$LIBEXIF_AGE:$LIBEXIF_REVISION
That creates libexif.so.12.0.1
I don't really understand, and I currently think it is wrong.
LIBEXIF_VERSION_INFO is passed to the -version-info libtool flag.
But, the libtool documentation say that it is CURRENT:REVISION:AGE and
not CURRENT:AGE:REVISION like it is done here
Other point: why does the CURRENT value passed to libtool is
LIBEXIF_CURRENT + LIBEXIF_REVISION. That is just wrong. It should just
be LIBEXIF_REVISION. That would create libexif.so.12.1.0 which make more
sense and actually match what to expect for .so versioning.
Did I miss something?
Hub
|