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:
2
configure
vendored
2
configure
vendored
@@ -23043,7 +23043,7 @@ fi
|
||||
|
||||
|
||||
|
||||
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* )
|
||||
WINDRES_CPU_DEFINE="--define WX_CPU_AMD64"
|
||||
|
Reference in New Issue
Block a user