summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMitya Selivanov <automainint@guattari.tech>2024-05-09 18:44:31 +0200
committerMitya Selivanov <automainint@guattari.tech>2024-05-09 18:44:31 +0200
commiteb058c6d571bb1a45455edaceed82f6979599163 (patch)
tree83c705be12fcbb215cbd65aee8911ffca4042848
parent296a0514df30cfdc740638e5d1304358378efed6 (diff)
downloadkit-eb058c6d571bb1a45455edaceed82f6979599163.zip
Link ws2_32 on Windows
-rwxr-xr-xbuild_and_test.sh4
1 files 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
;;
*)