summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--xmake/core/package/package.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index d6eae8a1b..61837ad00 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -1966,6 +1966,9 @@ function _instance:find_tool(name, opt)
bindirs = self:get("bindirs"),
version = true, -- we alway check version
require_version = opt.require_version,
+ check = opt.check,
+ command = opt.command,
+ parse = opt.parse,
norun = opt.norun,
system = opt.system,
force = opt.force})