diff options
| author | 2020-06-13 03:56:11 +0200 | |
|---|---|---|
| committer | 2020-06-14 23:36:23 +0200 | |
| commit | 70e8738d93ebb30a187a5060b26dbe7ae960b76c (patch) | |
| tree | 11e2cc6bc13cff22a37866debb52b094e25c5794 /src/Makefile.am | |
| parent | 66d606871079d588316c5374bdd288225cc4df48 (diff) | |
| download | libimobiledevice-70e8738d93ebb30a187a5060b26dbe7ae960b76c.tar.gz libimobiledevice-70e8738d93ebb30a187a5060b26dbe7ae960b76c.tar.bz2 | |
Add API version to library and pkgconfig file for proper linking
Diffstat (limited to 'src/Makefile.am')
| -rw-r--r-- | src/Makefile.am | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index 9933277..1ef47fc 100644 --- a/src/Makefile.am +++ b/src/Makefile.am | |||
| @@ -21,10 +21,10 @@ AM_LDFLAGS = \ | |||
| 21 | $(openssl_LIBS) \ | 21 | $(openssl_LIBS) \ |
| 22 | $(PTHREAD_LIBS) | 22 | $(PTHREAD_LIBS) |
| 23 | 23 | ||
| 24 | lib_LTLIBRARIES = libimobiledevice.la | 24 | lib_LTLIBRARIES = libimobiledevice-1.0.la |
| 25 | libimobiledevice_la_LIBADD = $(top_builddir)/common/libinternalcommon.la | 25 | libimobiledevice_1_0_la_LIBADD = $(top_builddir)/common/libinternalcommon.la |
| 26 | libimobiledevice_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIMOBILEDEVICE_SO_VERSION) -no-undefined | 26 | libimobiledevice_1_0_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIMOBILEDEVICE_SO_VERSION) -no-undefined |
| 27 | libimobiledevice_la_SOURCES = \ | 27 | libimobiledevice_1_0_la_SOURCES = \ |
| 28 | idevice.c idevice.h \ | 28 | idevice.c idevice.h \ |
| 29 | service.c service.h \ | 29 | service.c service.h \ |
| 30 | property_list_service.c property_list_service.h \ | 30 | property_list_service.c property_list_service.h \ |
| @@ -53,8 +53,8 @@ libimobiledevice_la_SOURCES = \ | |||
| 53 | syslog_relay.c syslog_relay.h | 53 | syslog_relay.c syslog_relay.h |
| 54 | 54 | ||
| 55 | if WIN32 | 55 | if WIN32 |
| 56 | libimobiledevice_la_LDFLAGS += -avoid-version -static-libgcc | 56 | libimobiledevice_1_0_la_LDFLAGS += -avoid-version -static-libgcc |
| 57 | libimobiledevice_la_LIBADD += -lole32 -lws2_32 -lgdi32 | 57 | libimobiledevice_1_0_la_LIBADD += -lole32 -lws2_32 -lgdi32 |
| 58 | endif | 58 | endif |
| 59 | 59 | ||
| 60 | pkgconfigdir = $(libdir)/pkgconfig | 60 | pkgconfigdir = $(libdir)/pkgconfig |
