fix configure for win64.
This commit is contained in:
parent
73b1a8d6f8
commit
cb592d1ddc
1
configure
vendored
1
configure
vendored
@ -5648,6 +5648,7 @@ then
|
|||||||
then
|
then
|
||||||
if test "$target_win64" = yes
|
if test "$target_win64" = yes
|
||||||
then
|
then
|
||||||
|
@ target_cpu=x86_64
|
||||||
|
|
||||||
{ echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
|
{ echo "$as_me:$LINENO: checking for main in -lws2_32" >&5
|
||||||
echo $ECHO_N "checking for main in -lws2_32... $ECHO_C" >&6; }
|
echo $ECHO_N "checking for main in -lws2_32... $ECHO_C" >&6; }
|
||||||
|
@ -670,6 +670,8 @@ then
|
|||||||
then
|
then
|
||||||
if test "$target_win64" = yes
|
if test "$target_win64" = yes
|
||||||
then
|
then
|
||||||
|
@dnl configure messes up badly on this.
|
||||||
|
target_cpu=x86_64
|
||||||
AC_CHECK_LIB(ws2_32,main)
|
AC_CHECK_LIB(ws2_32,main)
|
||||||
EXTRA_LIBS_FOR_DLLS="-lws2_32"
|
EXTRA_LIBS_FOR_DLLS="-lws2_32"
|
||||||
elif test "$target_os" = "cygwin"
|
elif test "$target_os" = "cygwin"
|
||||||
|
Reference in New Issue
Block a user