summaryrefslogtreecommitdiff
path: root/xmake/tools/lib.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2017-02-26 22:08:26 +0800
committerruki <[email protected]>2017-02-26 22:08:26 +0800
commitbe7af17fc8a42cf13e8f56e11439a4fa42365da3 (patch)
treeb123f41ebb1cfa7985f55a30b50b1ac79776927f /xmake/tools/lib.lua
parenteee1ce998cc7ed06776fde65933b30ea23690bd5 (diff)
save tool kind for windows
Diffstat (limited to 'xmake/tools/lib.lua')
-rw-r--r--[-rwxr-xr-x]xmake/tools/lib.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/xmake/tools/lib.lua b/xmake/tools/lib.lua
index 033a6e4ca..62787b405 100755..100644
--- a/xmake/tools/lib.lua
+++ b/xmake/tools/lib.lua
@@ -29,8 +29,7 @@ function init(shellname, kind)
_g.shellname = shellname or "lib.exe"
-- save the tool kind
- _g.kind = kind or "ar"
-
+ _g.kind = kind
end
-- get the property