improve libcurl

pull/1356/head
ruki 2 years ago
parent 93f7c47d80
commit 8a967fb691
  1. 5
      packages/l/libcurl/xmake.lua

@ -53,11 +53,16 @@ package("libcurl")
zstd = "zstd",
brotli = "brotli",
libssh2 = "libssh2"}
local has_deps = false
for name, dep in pairs(configdeps) do
if package:config(name) then
package:add("deps", dep)
has_deps = true
end
end
if has_deps and package:is_plat("linux", "macosx") then
package:add("deps", "pkg-config")
end
end)
on_install("windows", "mingw@windows", function (package)

Loading…
Cancel
Save