diff options
| author | ruki <[email protected]> | 2015-06-12 12:45:43 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2015-06-12 12:45:43 +0800 |
| commit | 1b9fc52acd62fea9dfa017481b146cf59993b1df (patch) | |
| tree | cd3d531fc73051415e32877eca2f49d0b7c3e9fb /xmake/scripts/base/compiler.lua | |
| parent | 99b9eb72c8db9854311fc0b5a79e07f8cae85242 (diff) | |
update platform for linux
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 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? |
