summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDoekin <[email protected]>2025-02-26 15:26:46 +0800
committerDoekin <[email protected]>2025-02-26 15:26:46 +0800
commit6f1f7d7778df3f7a13ccbb4dff7586e82b9830a2 (patch)
treea499d152d6b72ebac9c2444ba33e83f01b7601a4
parent4abb777fb6cdca3bfeebfd2ae2b2f4a2d4089dad (diff)
Pass more options from `package:find_tool` to `lib.detect.find_tool`
-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})