From 1678ef146c122b8a38a4485262f43b816230aa0f Mon Sep 17 00:00:00 2001 From: ruki Date: Fri, 12 Jun 2015 10:45:14 +0800 Subject: probe and compile for android --- 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 53d5a2e5d..f0c71053f 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", platform.tool(kind)) + return nil, string.format("invalid compiler: %s", path.filename(platform.tool(kind))) end -- save kind module._KIND = kind else - return nil, string.format("not found compiler: %s", platform.tool(kind)) + return nil, string.format("unknown compiler: %s", path.filename(platform.tool(kind))) end -- ok? -- cgit v1.3.1