summaryrefslogtreecommitdiff
path: root/xmake/core/tool/builder.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2022-05-28 22:23:11 +0800
committerruki <[email protected]>2022-05-28 22:23:11 +0800
commitfccfafe963bc60348fab25908dcfa9f43a39093d (patch)
treee578d96f604257da402a997c8cb184d47d80ba49 /xmake/core/tool/builder.lua
parent0db757b6c79d41db3c2e3296f97dac016a4f41cc (diff)
fix c++modules for cl
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