diff options
| author | ruki <[email protected]> | 2015-06-12 10:45:14 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-12 10:45:14 +0800 |
| commit | 1678ef146c122b8a38a4485262f43b816230aa0f (patch) | |
| tree | ad6ff2cef9e9f50726f04dc1cafe135aaa26a26d /xmake/scripts/base/compiler.lua | |
| parent | c2e614548b92821c8396e2a2e9f06afeb97cc7bd (diff) | |
probe and compile for android
Diffstat (limited to 'xmake/scripts/base/compiler.lua')
| -rw-r--r-- | xmake/scripts/base/compiler.lua | 4 |
1 files changed, 2 insertions, 2 deletions
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? |
