diff options
| author | ruki <[email protected]> | 2025-09-26 08:21:58 +0800 |
|---|---|---|
| committer | GitHub <[email protected]> | 2025-09-26 08:21:58 +0800 |
| commit | adf16d85e19b8d9eb6bfce0feb4cd3509d7c95fb (patch) | |
| tree | 1c70142f0ccec6bfa8bcd88b5bc4cd2e9dce4039 /xmake/core/package/package.lua | |
| parent | 392b96a3e210818bebadd88f1b7ed386037e3deb (diff) | |
Update package.lua
Diffstat (limited to 'xmake/core/package/package.lua')
| -rw-r--r-- | xmake/core/package/package.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua index e3ccef403..4b0ddd036 100644 --- a/xmake/core/package/package.lua +++ b/xmake/core/package/package.lua @@ -1411,7 +1411,7 @@ function _instance:has_tool(toolkind, ...) local target_utils = package._target_utils if target_utils == nil then target_utils = sandbox_module.import("private.utils.target", {anonymous = true}) - target._target_utils = target_utils + package._target_utils = target_utils end local _, toolname = self:tool(toolkind) return target_utils.has_tool(toolname, table.pack(...)) |
