Skip to content

Commit

Permalink
fix net config for poco (#5132)
Browse files Browse the repository at this point in the history
  • Loading branch information
heheda123123 authored Sep 4, 2024
1 parent 2895d01 commit eb8b1e2
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion packages/p/poco/xmake.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit eb8b1e2

Please sign in to comment.