summaryrefslogtreecommitdiff
path: root/xmake/core/tool/builder.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/core/tool/builder.lua')
-rw-r--r--xmake/core/tool/builder.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/tool/builder.lua b/xmake/core/tool/builder.lua
index e21b2bf3b..ff792325a 100644
--- a/xmake/core/tool/builder.lua
+++ b/xmake/core/tool/builder.lua
@@ -384,6 +384,7 @@ function builder:_preprocess_flags(flags)
else
-- may be a table group? e.g. {"-I", "/xxx"}
if #flag > 0 then
+ table.wrap_unlock(flag)
table.join2(results, flag)
end
end