From 3fc7a85778d85a1dda1c0c4bedc8467470468476 Mon Sep 17 00:00:00 2001 From: Nikias Bassen Date: Sun, 18 Sep 2016 16:42:26 +0200 Subject: win32: Fix MinGW build by adding -lgdi32 to properly link against OpenSSL --- src/Makefile.am | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- cgit v1.1-32-gdbae