From 1b9fc52acd62fea9dfa017481b146cf59993b1df Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 12 Jun 2015 12:45:43 +0800 Subject: update platform for linux --- xmake/scripts/base/compiler.lua | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'xmake/scripts/base/compiler.lua') diff --git a/xmake/scripts/base/compiler.lua b/xmake/scripts/base/compiler.lua index f0c71053f..bbf9a6106 100644 --- a/xmake/scripts/base/compiler.lua +++ b/xmake/scripts/base/compiler.lua @@ -371,13 +371,13 @@ function compiler.get(srcfile) -- invalid compiler if not module.command_compile then - return nil, string.format("invalid compiler: %s", path.filename(platform.tool(kind))) + return nil, string.format("invalid compiler for %s", kind) end -- save kind module._KIND = kind else - return nil, string.format("unknown compiler: %s", path.filename(platform.tool(kind))) + return nil, string.format("unknown compiler for %s", kind) end -- ok? -- cgit v1.3.1