diff options
author | Martin Szulecki | 2013-02-21 23:09:39 +0100 |
---|---|---|
committer | Martin Szulecki | 2013-02-21 23:09:39 +0100 |
commit | 4443e2fd95a71840109e7ca6d34f03e7c87dc6f8 (patch) | |
tree | bd625bc3943a0b2b5a3c7b4c9b9aa83081fe28ba /src | |
parent | 619daa992589ccfb4b44bdb4c74d5aadc7ad1f66 (diff) | |
download | libimobiledevice-4443e2fd95a71840109e7ca6d34f03e7c87dc6f8.tar.gz libimobiledevice-4443e2fd95a71840109e7ca6d34f03e7c87dc6f8.tar.bz2 |
Link with ole32 on WIN32 to fix build
Diffstat (limited to 'src')
-rw-r--r-- | src/Makefile.am | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Makefile.am b/src/Makefile.am index f1f5f39..9186230 100644 --- a/src/Makefile.am +++ b/src/Makefile.am @@ -4,6 +4,7 @@ AM_CFLAGS = $(GLOBAL_CFLAGS) $(libusbmuxd_CFLAGS) $(libgnutls_CFLAGS) $(libtasn1 AM_LDFLAGS = $(libgnutls_LIBS) $(libtasn1_LIBS) $(libplist_LIBS) $(libusbmuxd_LIBS) $(libgcrypt_LIBS) ${libpthread_LIBS} $(openssl_LIBS) lib_LTLIBRARIES = libimobiledevice.la +libimobiledevice_la_LIBADD = libimobiledevice_la_LDFLAGS = $(AM_LDFLAGS) -version-info $(LIBIMOBILEDEVICE_SO_VERSION) -no-undefined libimobiledevice_la_SOURCES = idevice.c idevice.h \ debug.c debug.h\ @@ -25,3 +26,7 @@ libimobiledevice_la_SOURCES = idevice.c idevice.h \ misagent.c misagent.h\ restore.c restore.h\ diagnostics_relay.c diagnostics_relay.h + +if WIN32 +libimobiledevice_la_LIBADD += -lole32 +endif
\ No newline at end of file |