summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGravatar Martin Szulecki2013-02-18 01:36:40 +0100
committerGravatar Martin Szulecki2013-02-18 01:36:40 +0100
commit036b4da012fff8c5c04fceafa8f62bbafa2222dc (patch)
treecb385e975e65c697f8eb2ba0dafa23b44309e0da
parent5c103c8c281269b5daf707a91b9ce8a1060faef1 (diff)
downloadcsoap-036b4da012fff8c5c04fceafa8f62bbafa2222dc.tar.gz
csoap-036b4da012fff8c5c04fceafa8f62bbafa2222dc.tar.bz2
Enable win32/include for WIN32 builds
-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)