diff options
| author | 2010-01-30 00:08:37 +0100 | |
|---|---|---|
| committer | 2010-01-30 00:08:37 +0100 | |
| commit | d84b88a61d2c1fffa17421a3ea72152d429d4822 (patch) | |
| tree | b3873518641d02d0cd0f87df6681888add303d0f | |
| parent | 20671cb0ad7ba9c1f1f70d5fbdb271e4f30526fc (diff) | |
| download | libimobiledevice-d84b88a61d2c1fffa17421a3ea72152d429d4822.tar.gz libimobiledevice-d84b88a61d2c1fffa17421a3ea72152d429d4822.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) | |||
| 14 | AX_SWIG_ENABLE_CXX | 14 | AX_SWIG_ENABLE_CXX |
| 15 | SWIG_PYTHON | 15 | SWIG_PYTHON |
| 16 | 16 | ||
| 17 | dnl libtool versioning | ||
| 18 | # +1 : 0 : +1 == adds new functions to the interface | ||
| 19 | # +1 : 0 : 0 == changes or removes functions (changes include both | ||
| 20 | # changes to the signature and the semantic) | ||
| 21 | # ? :+1 : ? == just internal changes | ||
| 22 | # CURRENT : REVISION : AGE | ||
| 23 | LIBIMOBILEDEVICE_SO_VERSION=0:0:0 | ||
| 24 | |||
| 25 | AC_SUBST(LIBIMOBILEDEVICE_SO_VERSION) | ||
| 26 | |||
| 17 | # Checks for programs. | 27 | # Checks for programs. |
| 18 | AC_PROG_CC | 28 | AC_PROG_CC |
| 19 | AM_PROG_CC_C_O | 29 | 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 | |||
| 4 | AM_LDFLAGS = $(libglib2_LIBS) $(libgnutls_LIBS) $(libtasn1_LIBS) $(libgthread2_LIBS) $(libplist_LIBS) $(libusbmuxd_LIBS) $(libgcrypt_LIBS) | 4 | AM_LDFLAGS = $(libglib2_LIBS) $(libgnutls_LIBS) $(libtasn1_LIBS) $(libgthread2_LIBS) $(libplist_LIBS) $(libusbmuxd_LIBS) $(libgcrypt_LIBS) |
| 5 | 5 | ||
| 6 | lib_LTLIBRARIES = libimobiledevice.la | 6 | lib_LTLIBRARIES = libimobiledevice.la |
| 7 | libimobiledevice_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIMOBILEDEVICE_SO_VERSION) -no-undefined | ||
| 7 | libimobiledevice_la_SOURCES = idevice.c idevice.h \ | 8 | libimobiledevice_la_SOURCES = idevice.c idevice.h \ |
| 8 | debug.c debug.h\ | 9 | debug.c debug.h\ |
| 9 | userpref.c userpref.h\ | 10 | userpref.c userpref.h\ |
