pull/4871/head
ruki 4 months ago committed by GitHub
parent 9d1ede210f
commit 3ea4568ece
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
  1. 13
      packages/b/boost/xmake.lua

@ -86,6 +86,7 @@ package("boost")
add_configs("lzma", {description = "enable lzma for iostreams", default = false, type = "boolean"})
on_load(function (package)
local function get_linkname(package, libname)
local linkname
if package:is_plat("windows") then
@ -145,13 +146,11 @@ package("boost")
end
package:add("deps", "python " .. package:config("pyver") .. ".x", {configs = {headeronly = true}})
end
if package:is_plat("linux") then
if package:config("zstd") then
package:add("deps", "zstd")
end
if package:config("lzma") then
package:add("deps", "xz")
end
if package:config("zstd") then
package:add("deps", "zstd")
end
if package:config("lzma") then
package:add("deps", "xz")
end
if package:is_plat("windows") and package:version():le("1.85.0") then

Loading…
Cancel
Save