From ebec10b1d30b050a70acdbf13c635908a72eacf2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Mon, 6 Feb 2012 10:36:44 +0000 Subject: [PATCH] clib needs LIBS to have ws2_32. --- configure | 1 + configure.in | 1 + 2 files changed, 2 insertions(+) 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"