clib needs LIBS to have ws2_32.

This commit is contained in:
Vítor Santos Costa 2012-02-06 10:36:44 +00:00
parent 6364c79bd5
commit ebec10b1d3
2 changed files with 2 additions and 0 deletions

1
configure vendored
View File

@ -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"

View File

@ -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"