diff options
Diffstat (limited to 'xmake/scripts/base/makefile.lua')
| -rw-r--r-- | xmake/scripts/base/makefile.lua | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/xmake/scripts/base/makefile.lua b/xmake/scripts/base/makefile.lua index 48550809a..934772fe5 100644 --- a/xmake/scripts/base/makefile.lua +++ b/xmake/scripts/base/makefile.lua @@ -98,15 +98,9 @@ function makefile._make_object_for_static(file, target, srcfile, objfile) else mode = "" end -- get extractor name - local toolname = nil - local extractor, errors = tools.get("ex") - if not extractor then - utils.error(errors) - return false - end - toolname = extractor.name + local toolname = platform.tool("ex") if not toolname then - utils.error("cannot get the extractor name!") + utils.error("cannot get extractor!") return false end |
