diff --git a/configure b/configure index 695ed1f0a..4c8e8f278 100755 --- a/configure +++ b/configure @@ -5649,6 +5649,7 @@ then if test "$target_win64" = yes then target_cpu=x86_64 + YAP_TARGET=amd64 { echo "$as_me:$LINENO: checking for main in -lws2_32" >&5 echo $ECHO_N "checking for main in -lws2_32... $ECHO_C" >&6; } diff --git a/configure.in b/configure.in index 218452920..8a74b7368 100755 --- a/configure.in +++ b/configure.in @@ -672,6 +672,7 @@ then then dnl configure messes up badly on this. target_cpu=x86_64 + YAP_TARGET=amd64 AC_CHECK_LIB(ws2_32,main) EXTRA_LIBS_FOR_DLLS="-lws2_32" elif test "$target_os" = "cygwin"