fix boost links again

pull/49/head
ruki 4 years ago
parent 2377a7f289
commit 2deb0faf0b
No known key found for this signature in database
GPG Key ID: 809EF06AD42725BD
  1. 2
      packages/b/boost/xmake.lua

@ -47,7 +47,7 @@ package("boost")
on_load("windows", function (package) on_load("windows", function (package)
local vs_runtime = package:config("vs_runtime") local vs_runtime = package:config("vs_runtime")
for _, libname in ipairs(libnames) do for _, libname in ipairs(libnames) do
local linkname = "boost_" .. libname local linkname = (package:config("shared") and "boost_" or "libboost_") .. libname
if package:config("multi") then if package:config("multi") then
linkname = linkname .. "-mt" linkname = linkname .. "-mt"
end end

Loading…
Cancel
Save