aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--configure.ac6
1 files changed, 6 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index c05e2f4e8..41dda0890 100644
--- a/configure.ac
+++ b/configure.ac
@@ -17,6 +17,12 @@ AC_DEFINE(PROTOCOL_VERSION, "0.14.0", [The mpd protocol version])
MPD_LIBS=""
MPD_CFLAGS=""
+case "$host" in
+*-mingw32* | *-windows*)
+ MPD_LIBS="$MPD_LIBS -lws2_32"
+ ;;
+esac
+
if test -z "$prefix" || test "x$prefix" = xNONE; then
local_lib=
local_include=