fix previous fix.

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

3
configure vendored
View File

@ -5714,7 +5714,6 @@ _ACEOF
fi fi
EXTRA_LIBS_FOR_DLLS="-lws2_32" EXTRA_LIBS_FOR_DLLS="-lws2_32"
LIBS="$LIBS -lws2_32"
elif test "$target_os" = "cygwin" elif test "$target_os" = "cygwin"
then then
CC="${CC} -mno-cygwin" CC="${CC} -mno-cygwin"
@ -5924,7 +5923,7 @@ fi
if test "$target_win64" = yes if test "$target_win64" = yes
then then
prefix="\${SYSTEMDRIVE}/Yap64" prefix="\${SYSTEMDRIVE}/Yap64"
CLIB_NETLIBS="-lwsock32 -lpsapi -lgdi32" CLIB_NETLIBS="-lws2_32 -lwsock32 -lpsapi -lgdi32"
else else
prefix="\${SYSTEMDRIVE}/Yap" prefix="\${SYSTEMDRIVE}/Yap"
fi fi

View File

@ -672,7 +672,6 @@ then
then then
AC_CHECK_LIB(ws2_32,main) AC_CHECK_LIB(ws2_32,main)
EXTRA_LIBS_FOR_DLLS="-lws2_32" EXTRA_LIBS_FOR_DLLS="-lws2_32"
LIBS="$LIBS -lws2_32"
elif test "$target_os" = "cygwin" elif test "$target_os" = "cygwin"
then then
CC="${CC} -mno-cygwin" CC="${CC} -mno-cygwin"
@ -690,7 +689,7 @@ then
if test "$target_win64" = yes if test "$target_win64" = yes
then then
prefix="\${SYSTEMDRIVE}/Yap64" prefix="\${SYSTEMDRIVE}/Yap64"
CLIB_NETLIBS="-lwsock32 -lpsapi -lgdi32" CLIB_NETLIBS="-lws2_32 -lwsock32 -lpsapi -lgdi32"
else else
prefix="\${SYSTEMDRIVE}/Yap" prefix="\${SYSTEMDRIVE}/Yap"
fi fi