summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac2
1 files changed, 2 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index fd48aba..18943df 100644
--- a/configure.ac
+++ b/configure.ac
@@ -81,6 +81,8 @@ LIB_EXTRA_LDFLAGS=
case "$host" in
*-*-mingw*|*-*-cygwin*)
LIB_EXTRA_LDFLAGS="-no-undefined"
+ CFLAGS="$CFLAGS -I../win32/include"
+ LDFLAGS="$LDFLAGS -lws2_32"
;;
esac
AC_SUBST(LIB_EXTRA_LDFLAGS)