From b2e34eb6a9a7cf81d40d95745bce9040b8d0e06b Mon Sep 17 00:00:00 2001 From: Giuseppe Scrivano Date: Fri, 7 May 2010 12:51:39 +0200 Subject: [PATCH] Add -lws2_32 under mingw32. --- ChangeLog | 1 + configure.ac | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 6a13c87b..f925cdfe 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,6 +1,7 @@ 2010-05-07 Giuseppe Scrivano * configure.ac: Don't call macro WGET_SOCKLEN_T. + (W32LIBS): Add -lws2_32. * Makefile.am (EXTRA_DIST): Remove autogen.sh. diff --git a/configure.ac b/configure.ac index 4eb42d26..208fea6c 100644 --- a/configure.ac +++ b/configure.ac @@ -231,7 +231,7 @@ WGET_NSL_SOCKET dnl Deal with specific hosts case $host_os in *mingw32* ) - AC_SUBST(W32LIBS, '-lwsock32') + AC_SUBST(W32LIBS, '-lwsock32 -lws2_32') AC_LIBOBJ([mswindows]) ;; esac