pull/3898/head
star9029 7 months ago
parent aaef7b6067
commit f796cb5bb3
  1. 2
      packages/l/ls-hpack/xmake.lua
  2. 12
      packages/l/lsquic/xmake.lua

@ -14,8 +14,6 @@ package("ls-hpack")
io.writefile("xmake.lua", [[
add_rules("mode.debug", "mode.release")
set_symbols("none")
add_requires("xxhash")
add_packages("xxhash")

@ -11,14 +11,20 @@ package("lsquic")
add_configs("fiu", {description = "Use Fault Injection in Userspace (FIU)", default = false, type = "boolean"})
add_deps("cmake")
add_deps("zlib", "boringssl", "ls-qpack", "ls-hpack")
add_deps("zlib", "boringssl", "ls-qpack")
add_includedirs("include/lsquic")
on_load("windows", function (package)
if not package:is_precompiled() then
on_load(function (package)
if package:is_plat("windows") and (not package:is_precompiled()) then
package:add("deps", "strawberry-perl")
end
local configs = {}
if package:config("shared") then
configs.pic = true
end
package:add("deps", "ls-hpack", {configs = configs})
end)
on_install("windows|!arm64", "linux", "macosx", function (package)

Loading…
Cancel
Save