diff options
| author | ruki <[email protected]> | 2023-03-01 00:46:09 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-03-05 21:59:26 +0800 |
| commit | 447834d2be36ecc810c76e39ed868d1a0c62039d (patch) | |
| tree | 1db4af4768aacec8c0bb649921866f1f52895442 | |
| parent | 85dc110f9126b4662d56c2d96c9627532056a3ca (diff) | |
fix sysflags
| -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) |
