Link with ws2_32.lib rather than obsolete wsock32.lib

Winsock 2 provided by ws2_32.lib is available since 1994, it should be
fine to use it even for wx in 2021.

See #15562.
This commit is contained in:
Vadim Zeitlin
2021-04-18 22:13:45 +02:00
parent 68a8d6a11c
commit 1dfc18a004
667 changed files with 2997 additions and 2997 deletions

View File

@@ -2950,7 +2950,7 @@ if test "$USE_WIN32" = 1 ; then
],
[ ])
LIBS="$LIBS -luxtheme -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lcomdlg32 -ladvapi32 -lversion -lwsock32 -lgdi32"
LIBS="$LIBS -luxtheme -lwinspool -lwinmm -lshell32 -lshlwapi -lcomctl32 -lcomdlg32 -ladvapi32 -lversion -lws2_32 -lgdi32"
case "${host}" in
x86_64-*-mingw* )
dnl we need to define this to embed the manifest for correct