diff options
| -rw-r--r-- | xmake/tools/swiftc.lua | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/xmake/tools/swiftc.lua b/xmake/tools/swiftc.lua index 04e32f922..74f7e8974 100644 --- a/xmake/tools/swiftc.lua +++ b/xmake/tools/swiftc.lua @@ -27,11 +27,14 @@ import("core.tool.tool") import("core.project.config") -- init it -function init(shellname) +function init(shellname, kind) -- save the shell name _g.shellname = shellname or "swiftc" + -- init kind + _g.kind = kind + -- init flags map _g.mapflags = { |
