add backtrace (#1607)

* add backtrace

* improve deps

* improve configs
pull/1618/head
ruki 2 years ago committed by GitHub
parent 4b194ee9e9
commit 846377ed77
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 8
      packages/c/coost/xmake.lua

@ -7,8 +7,12 @@ package("coost")
add_versions("v3.0.0", "f962201201cd77aaf45f33d72bd012231a31d4310d30e9bb580ffb1e94c8148d")
for _, name in ipairs({"libcurl", "openssl"}) do
add_configs(name, {description = "Enable " .. name .. " library.", default = false, type = "boolean"})
for _, name in ipairs({"libcurl", "openssl", "libbacktrace"}) do
local default = false
if name == "libbacktrace" and is_plat("linux") then
default = true
end
add_configs(name, {description = "Enable " .. name .. " library.", default = default, type = "boolean"})
end
if is_plat("linux") then

Loading…
Cancel
Save