diff options
| author | ruki <[email protected]> | 2023-05-18 23:12:33 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2023-05-18 23:12:33 +0800 |
| commit | ebfbf35f2057606e95c6526823849f3bcc857d53 (patch) | |
| tree | 2b61fe52cdd7fea965d37fa350b3203c223d1a95 /xmake/core/package/package.lua | |
| parent | 3bc9b2b0a6344201baf2ffa0662df23c03a8cdf2 (diff) | |
fix find_tool from xmake/packages
Diffstat (limited to 'xmake/core/package/package.lua')
| -rw-r--r-- | xmake/core/package/package.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index 7508b207f..ab7d01b88 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -1545,6 +1545,7 @@ function _instance:_fetch_tool(opt) fetchinfo = self:find_tool(self:name(), {require_version = opt.require_version, cachekey = "fetch_package_xmake", norun = true, -- we need not run it to check for xmake/packages, @see https://github.com/xmake-io/xmake-repo/issues/66 + system = false, -- we only find it from xmake/packages, @see https://github.com/xmake-io/xmake-repo/pull/2085 force = opt.force}) -- may be toolset, not single tool @@ -1641,6 +1642,7 @@ function _instance:find_tool(name, opt) version = true, -- we alway check version require_version = opt.require_version, norun = opt.norun, + system = opt.system, force = opt.force}) end |
