summaryrefslogtreecommitdiff
path: root/xmake/tools/make.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2016-04-27 14:55:32 +0800
committerruki <[email protected]>2016-04-27 14:55:32 +0800
commitdb3847c310a6a580d0b5e8407c71b5e8a8a9f171 (patch)
treed6252305fa82a955ce8df2b81523c5c3bdbc87b2 /xmake/tools/make.lua
parentbf7678ececf50ef69f81d4801a43ef572fcc2933 (diff)
add mingw and windows platform
Diffstat (limited to 'xmake/tools/make.lua')
-rw-r--r--xmake/tools/make.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/tools/make.lua b/xmake/tools/make.lua
index 2785eaf73..a95685478 100644
--- a/xmake/tools/make.lua
+++ b/xmake/tools/make.lua
@@ -86,7 +86,7 @@ end
function check(flags)
-- make an empty makefile
- local tmpfile = os.tmpfile()
+ local tmpfile = path.join(os.tmpdir(), "xmake.checker.make")
io.write(tmpfile, "all:\n")
-- check it