fix configure for win64.

This commit is contained in:
Vítor Santos Costa 2012-02-06 11:11:50 +00:00
parent 73b1a8d6f8
commit cb592d1ddc
2 changed files with 3 additions and 0 deletions

1
configure vendored
View File

@ -5648,6 +5648,7 @@ then
then
if test "$target_win64" = yes
then
@ target_cpu=x86_64
{ echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
echo $ECHO_N "checking for main in -lws2_32... $ECHO_C" >&6; }

View File

@ -670,6 +670,8 @@ then
then
if test "$target_win64" = yes
then
@dnl configure messes up badly on this.
target_cpu=x86_64
AC_CHECK_LIB(ws2_32,main)
EXTRA_LIBS_FOR_DLLS="-lws2_32"
elif test "$target_os" = "cygwin"