summaryrefslogtreecommitdiff
path: root/xmake/scripts/base/makefile.lua
diff options
context:
space:
mode:
Diffstat (limited to 'xmake/scripts/base/makefile.lua')
-rw-r--r--xmake/scripts/base/makefile.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/scripts/base/makefile.lua b/xmake/scripts/base/makefile.lua
index aa598c916..17ec4aeda 100644
--- a/xmake/scripts/base/makefile.lua
+++ b/xmake/scripts/base/makefile.lua
@@ -247,7 +247,7 @@ function makefile.build(target)
assert(buildir)
-- load make
- local make = tools.load(platform.tool("make"))
+ local make = tools.get("make")
if not make then
utils.error("not found the make command!")
return false