diff options
author | Martin Szulecki | 2010-01-30 00:08:37 +0100 |
---|---|---|
committer | Martin Szulecki | 2010-01-30 00:08:37 +0100 |
commit | d84b88a61d2c1fffa17421a3ea72152d429d4822 (patch) | |
tree | b3873518641d02d0cd0f87df6681888add303d0f | |
parent | 20671cb0ad7ba9c1f1f70d5fbdb271e4f30526fc (diff) | |
download | libimobiledevice-0.9.7.tar.gz libimobiledevice-0.9.7.tar.bz2 |
Pass -version-info for libtool to set soname0.9.7
-rw-r--r-- | configure.ac | 10 | ||||
-rw-r--r-- | src/Makefile.am | 1 |
2 files changed, 11 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac index a4f68f7..e564301 100644 --- a/configure.ac +++ b/configure.ac @@ -14,6 +14,16 @@ AC_PROG_SWIG(1.3.21) AX_SWIG_ENABLE_CXX SWIG_PYTHON +dnl libtool versioning +# +1 : 0 : +1 == adds new functions to the interface +# +1 : 0 : 0 == changes or removes functions (changes include both +# changes to the signature and the semantic) +# ? :+1 : ? == just internal changes +# CURRENT : REVISION : AGE +LIBIMOBILEDEVICE_SO_VERSION=0:0:0 + +AC_SUBST(LIBIMOBILEDEVICE_SO_VERSION) + # Checks for programs. AC_PROG_CC AM_PROG_CC_C_O diff --git a/src/Makefile.am b/src/Makefile.am index 69bbd9b..b0093fa 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,6 +4,7 @@ AM_CFLAGS = $(GLOBAL_CFLAGS) $(libusbmuxd_CFLAGS) $(libglib2_CFLAGS) $(libgnutls AM_LDFLAGS = $(libglib2_LIBS) $(libgnutls_LIBS) $(libtasn1_LIBS) $(libgthread2_LIBS) $(libplist_LIBS) $(libusbmuxd_LIBS) $(libgcrypt_LIBS) lib_LTLIBRARIES = libimobiledevice.la +libimobiledevice_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIMOBILEDEVICE_SO_VERSION) -no-undefined libimobiledevice_la_SOURCES = idevice.c idevice.h \ debug.c debug.h\ userpref.c userpref.h\ |