|
|
@ -86,7 +86,7 @@ package("boost") |
|
|
|
end |
|
|
|
end |
|
|
|
if libname == "python" then |
|
|
|
if libname == "python" then |
|
|
|
linkname = linkname .. package:config("pyver"):gsub("%p+", "") |
|
|
|
linkname = linkname .. package:config("pyver"):gsub("%p+", "") |
|
|
|
end |
|
|
|
end |
|
|
|
if package:config("multi") then |
|
|
|
if package:config("multi") then |
|
|
|
linkname = linkname .. "-mt" |
|
|
|
linkname = linkname .. "-mt" |
|
|
|
end |
|
|
|
end |
|
|
@ -107,7 +107,8 @@ package("boost") |
|
|
|
return linkname |
|
|
|
return linkname |
|
|
|
end |
|
|
|
end |
|
|
|
-- we need the fixed link order |
|
|
|
-- 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 |
|
|
|
for _, libname in ipairs(libnames) do |
|
|
|
local libs = sublibs[libname] |
|
|
|
local libs = sublibs[libname] |
|
|
|
if libs then |
|
|
|
if libs then |
|
|
|