summaryrefslogtreecommitdiff
path: root/xmake/core/package/package.lua
diff options
context:
space:
mode:
authorruki <[email protected]>2021-01-06 00:52:40 +0800
committerruki <[email protected]>2021-01-06 00:52:40 +0800
commit80e2c546e0e900b23cd3fc945d2f53cb33297253 (patch)
tree19c93bd5fe8ff5ab458977774886e5f4fae41f66 /xmake/core/package/package.lua
parent40ca0361e3d0bb08218bc984e1d3eef35f16e5d4 (diff)
fix find_tool for package
Diffstat (limited to 'xmake/core/package/package.lua')
-rw-r--r--xmake/core/package/package.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 7446a2e6a..6c730aebd 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -957,6 +957,7 @@ function _instance:fetch(opt)
-- fetch it from the system directories
if not fetchinfo and system ~= false then
fetchinfo = self._find_tool(self:name(), {cachekey = "fetch_package_system",
+ require_version = require_ver,
force = opt.force})
if fetchinfo then
isSys = true