From eb8b1e2beecd66b62990148f3bb045cb78b2cad7 Mon Sep 17 00:00:00 2001 From: xpxz <97490782+heheda123123@users.noreply.github.com> Date: Wed, 4 Sep 2024 23:52:57 +0800 Subject: [PATCH] fix net config for poco (#5132) --- packages/p/poco/xmake.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/packages/p/poco/xmake.lua b/packages/p/poco/xmake.lua index c08cacba91e..c124d887acc 100644 --- a/packages/p/poco/xmake.lua +++ b/packages/p/poco/xmake.lua @@ -72,7 +72,9 @@ package("poco") else package:add("deps", "pcre") end - + if package:config("net") and package:is_plat("windows") then + package:add("syslinks", "ws2_32") + end if package:config("netssl") or package:config("crypto") or package:config("jwt") then package:add("deps", "openssl") end