summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorruki <[email protected]>2025-09-26 06:28:38 +0800
committerGitHub <[email protected]>2025-09-26 06:28:38 +0800
commit392b96a3e210818bebadd88f1b7ed386037e3deb (patch)
treea8887ca0654a1527dec0a579eefcbbcd496660bb
parentb5eaedb26c78ee4afa4641c78579ff1e65450d6d (diff)
Update package.lua
-rw-r--r--xmake/core/package/package.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/package/package.lua b/xmake/core/package/package.lua
index 663f7d3a0..e3ccef403 100644
--- a/xmake/core/package/package.lua
+++ b/xmake/core/package/package.lua
@@ -1408,7 +1408,7 @@ end
-- ...
-- end
function _instance:has_tool(toolkind, ...)
- local target_utils = target._target_utils
+ 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