summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac1
-rw-r--r--src/Makefile.am2
2 files changed, 2 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index aaa1fd7..4342f5c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -68,6 +68,7 @@ case ${host_os} in
68 *mingw32*|*cygwin*) 68 *mingw32*|*cygwin*)
69 AC_MSG_RESULT([${host_os}]) 69 AC_MSG_RESULT([${host_os}])
70 win32=true 70 win32=true
71 AC_DEFINE(WINVER, 0x0501, [minimum Windows version])
71 ;; 72 ;;
72 darwin*) 73 darwin*)
73 AC_MSG_RESULT([${host_os}]) 74 AC_MSG_RESULT([${host_os}])
diff --git a/src/Makefile.am b/src/Makefile.am
index 5fcf097..75c6dfe 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -33,7 +33,7 @@ libimobiledevice_la_SOURCES = idevice.c idevice.h \
33 syslog_relay.c syslog_relay.h 33 syslog_relay.c syslog_relay.h
34 34
35if WIN32 35if WIN32
36libimobiledevice_la_LDFLAGS += -avoid-version 36libimobiledevice_la_LDFLAGS += -avoid-version -static-libgcc
37libimobiledevice_la_LIBADD += -lole32 -lws2_32 -lgdi32 37libimobiledevice_la_LIBADD += -lole32 -lws2_32 -lgdi32
38endif 38endif
39 39