diff --git a/packages/c/capnproto/xmake.lua b/packages/c/capnproto/xmake.lua index e3840df0b58..114f6b64763 100644 --- a/packages/c/capnproto/xmake.lua +++ b/packages/c/capnproto/xmake.lua @@ -29,6 +29,7 @@ package("capnproto") if is_plat("windows") then add_configs("shared", {description = "Build shared library.", default = false, type = "boolean", readonly = true}) + add_syslinks("ws2_32") end add_deps("cmake", "zlib")