summaryrefslogtreecommitdiff
path: root/xmake/core/tool/tool.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2018-02-05 22:41:02 +0800
committerruki <[email protected]>2018-02-05 10:06:15 +0800
commitf544576e010e2d37defa0592a7b5b919375bd2c3 (patch)
treee078c08e92fd2255070e072e4c4c2fd9a73bb777 /xmake/core/tool/tool.lua
parent3067eb2a3f6b8ebd34d719558a7f0dedc527d3fe (diff)
improve linker error tips
Diffstat (limited to 'xmake/core/tool/tool.lua')
-rw-r--r--xmake/core/tool/tool.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/tool.lua b/xmake/core/tool/tool.lua
index 295aa8785..87b6b708e 100644
--- a/xmake/core/tool/tool.lua
+++ b/xmake/core/tool/tool.lua
@@ -127,7 +127,7 @@ function tool.load(kind)
-- get name
local name = name_or_errors
if not name then
- return nil, string.format("cannot find tool name for %s", program)
+ return nil, string.format("cannot find known tool script for %s", toolname or program)
end
-- new an instance