boost: fix table concat

pull/5000/head
star9029 3 months ago
parent ac6c846a98
commit 9b9642fe71
  1. 4
      packages/b/boost/xmake.lua

@ -282,9 +282,7 @@ package("boost")
local info = dep:fetch({external = false}) local info = dep:fetch({external = false})
if info then if info then
local includedirs = table.wrap(info.sysincludedirs or info.includedirs) local includedirs = table.wrap(info.sysincludedirs or info.includedirs)
if #includedirs == 0 then if #includedirs != 0 then
includedirs = ""
else
for i, dir in ipairs(includedirs) do for i, dir in ipairs(includedirs) do
includedirs[i] = path.unix(dir) includedirs[i] = path.unix(dir)
end end

Loading…
Cancel
Save