diff options
| author | ruki <[email protected]> | 2016-04-14 10:07:13 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2016-04-14 10:07:13 +0800 |
| commit | bfd9b3a115c932973fecc82915f0cead7e6ceaa2 (patch) | |
| tree | dca32143b2f5d0f6dc5a57091bd14c8b2ddb815c /xmake/core/tool/tool.lua | |
| parent | 1479b3c2c9ef3621fec864c0dd305ad4b1f5c60f (diff) | |
fix ar and swiftc bug
Diffstat (limited to 'xmake/core/tool/tool.lua')
| -rw-r--r-- | xmake/core/tool/tool.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/tool/tool.lua b/xmake/core/tool/tool.lua index 75ef33a22..98ab836ac 100644 --- a/xmake/core/tool/tool.lua +++ b/xmake/core/tool/tool.lua @@ -388,6 +388,7 @@ function tool.check(shellname, dirs) -- check assert(shellname) + -- FIXME: 7f00 -- attempt to run it directly first if os.execute(string.format("%s > %s 2>&1", shellname, xmake._NULDEV)) ~= 0x7f00 then return shellname |
