diff options
| -rw-r--r-- | xmake/core/tool/tool.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/tool.lua b/xmake/core/tool/tool.lua index 7dc305980..33c8296a1 100644 --- a/xmake/core/tool/tool.lua +++ b/xmake/core/tool/tool.lua @@ -200,7 +200,7 @@ function _instance:_sysflags(toolkind, flagkind) end end if sourceflags then - for _, flagname in ipairs(sourceflags) do + for _, flagname in ipairs(table.wrap(sourceflags)) do local flags = self:get(flagname) if flags then table.join2(sysflags, flags) |
