improve boost to support stacktrace (#2153)

pull/2155/head
ruki 1 year ago committed by GitHub
parent 7b1ef43416
commit 6e365c2d86
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 5
      packages/b/boost/xmake.lua

@ -86,7 +86,7 @@ package("boost")
end
if libname == "python" then
linkname = linkname .. package:config("pyver"):gsub("%p+", "")
end
end
if package:config("multi") then
linkname = linkname .. "-mt"
end
@ -107,7 +107,8 @@ package("boost")
return linkname
end
-- we need the fixed link order
local sublibs = {log = {"log_setup", "log"}}
local sublibs = {log = {"log_setup", "log"},
stacktrace = {"stacktrace_backtrace", "stacktrace_basic"}}
for _, libname in ipairs(libnames) do
local libs = sublibs[libname]
if libs then

Loading…
Cancel
Save