From eb058c6d571bb1a45455edaceed82f6979599163 Mon Sep 17 00:00:00 2001 From: Mitya Selivanov Date: Thu, 9 May 2024 18:44:31 +0200 Subject: Link ws2_32 on Windows --- build_and_test.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/build_and_test.sh b/build_and_test.sh index 09077b8..2fd4a1f 100755 --- a/build_and_test.sh +++ b/build_and_test.sh @@ -150,9 +150,9 @@ if [ "$COMPILE" != "emcc" ]; then fi fi if [ "$COMPILE" = "cl.exe" ]; then - LINK_FLAGS="Shlwapi.lib Advapi32.lib" + LINK_FLAGS="Shlwapi.lib Advapi32.lib Ws2_32.lib" else - LINK_FLAGS="-lShlwapi -lAdvapi32" + LINK_FLAGS="-lShlwapi -lAdvapi32 -lWs2_32" fi ;; *) -- cgit v1.2.3