summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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