diff --git a/configure b/configure index a4fa94aef..fa44f3aea 100755 --- a/configure +++ b/configure @@ -5714,6 +5714,7 @@ _ACEOF fi EXTRA_LIBS_FOR_DLLS="-lws2_32" + LIBS="$LIBS -lws2_32" elif test "$target_os" = "cygwin" then CC="${CC} -mno-cygwin" diff --git a/configure.in b/configure.in index 949f66494..8c80db318 100755 --- a/configure.in +++ b/configure.in @@ -672,6 +672,7 @@ then then AC_CHECK_LIB(ws2_32,main) EXTRA_LIBS_FOR_DLLS="-lws2_32" + LIBS="$LIBS -lws2_32" elif test "$target_os" = "cygwin" then CC="${CC} -mno-cygwin"