From 9b9642fe7120272115020c065734b1ad6a3f3da9 Mon Sep 17 00:00:00 2001 From: star9029 Date: Wed, 21 Aug 2024 08:04:55 +0800 Subject: [PATCH] boost: fix table concat --- packages/b/boost/xmake.lua | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/packages/b/boost/xmake.lua b/packages/b/boost/xmake.lua index 0b7ebae27..80529ea3a 100644 --- a/packages/b/boost/xmake.lua +++ b/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