Sfoglia il codice sorgente

boost: fix table concat

star9029 1 anno fa
parent
commit
9b9642fe71
1 ha cambiato i file con 1 aggiunte e 3 eliminazioni
  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