From 60406966373967cb6c10ca612958dcc5284ffa0c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADtor=20Santos=20Costa?= Date: Mon, 6 Feb 2012 10:46:44 +0000 Subject: [PATCH] fix previous fix. --- configure | 3 +-- configure.in | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/configure b/configure index fa44f3aea..d4a26d4f7 100755 --- a/configure +++ b/configure @@ -5714,7 +5714,6 @@ _ACEOF fi EXTRA_LIBS_FOR_DLLS="-lws2_32" - LIBS="$LIBS -lws2_32" elif test "$target_os" = "cygwin" then CC="${CC} -mno-cygwin" @@ -5924,7 +5923,7 @@ fi if test "$target_win64" = yes then prefix="\${SYSTEMDRIVE}/Yap64" - CLIB_NETLIBS="-lwsock32 -lpsapi -lgdi32" + CLIB_NETLIBS="-lws2_32 -lwsock32 -lpsapi -lgdi32" else prefix="\${SYSTEMDRIVE}/Yap" fi diff --git a/configure.in b/configure.in index 8c80db318..066d798c6 100755 --- a/configure.in +++ b/configure.in @@ -672,7 +672,6 @@ 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" @@ -690,7 +689,7 @@ then if test "$target_win64" = yes then prefix="\${SYSTEMDRIVE}/Yap64" - CLIB_NETLIBS="-lwsock32 -lpsapi -lgdi32" + CLIB_NETLIBS="-lws2_32 -lwsock32 -lpsapi -lgdi32" else prefix="\${SYSTEMDRIVE}/Yap" fi