浏览代码

boost: fix table concat

star9029 1 年之前
父节点
当前提交
9b9642fe71
共有 1 个文件被更改,包括 1 次插入3 次删除
  1. 1 3
      packages/b/boost/xmake.lua

+ 1 - 3
packages/b/boost/xmake.lua

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