summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Nikias Bassen2016-09-18 16:42:26 +0200
committerGravatar Nikias Bassen2016-09-18 16:42:26 +0200
commit3fc7a85778d85a1dda1c0c4bedc8467470468476 (patch)
treeac8f59c0d3a96815e5272ffbd6585e28607cf6ee
parent98a096134b23be980a0aa56e775c5510f0e93595 (diff)
downloadlibimobiledevice-3fc7a85778d85a1dda1c0c4bedc8467470468476.tar.gz
libimobiledevice-3fc7a85778d85a1dda1c0c4bedc8467470468476.tar.bz2
win32: Fix MinGW build by adding -lgdi32 to properly link against OpenSSL
-rw-r--r--src/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Makefile.am b/src/Makefile.am
index da60386..5ced544 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -32,7 +32,7 @@ libimobiledevice_la_SOURCES = idevice.c idevice.h \
if WIN32
libimobiledevice_la_LDFLAGS += -avoid-version
-libimobiledevice_la_LIBADD += -lole32 -lws2_32
+libimobiledevice_la_LIBADD += -lole32 -lws2_32 -lgdi32
endif
pkgconfigdir = $(libdir)/pkgconfig