clib needs LIBS to have ws2_32.
This commit is contained in:
parent
6364c79bd5
commit
ebec10b1d3
1
configure
vendored
1
configure
vendored
@ -5714,6 +5714,7 @@ _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"
|
||||||
|
@ -672,6 +672,7 @@ 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"
|
||||||
|
Reference in New Issue
Block a user