diff options
| author | ruki <[email protected]> | 2025-09-26 00:54:26 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2025-09-26 00:54:26 +0800 |
| commit | b5eaedb26c78ee4afa4641c78579ff1e65450d6d (patch) | |
| tree | 292a11c773bb0943145cea5e918ddc005766c1eb /xmake/core/project | |
| parent | 41071f11cb134a124734b922fe51ef6d8f5cfc20 (diff) | |
fix check cxxflags
Diffstat (limited to 'xmake/core/project')
| -rw-r--r-- | xmake/core/project/target.lua | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/xmake/core/project/target.lua b/xmake/core/project/target.lua index 73d53cbe6..3839eb01f 100644 --- a/xmake/core/project/target.lua +++ b/xmake/core/project/target.lua @@ -2683,7 +2683,8 @@ function _instance:has_tool(toolkind, ...) target_utils = sandbox_module.import("private.utils.target", {anonymous = true}) target._target_utils = target_utils end - return target_utils.has_tool(self, toolkind, ...) + local _, toolname = self:tool(toolkind) + return target_utils.has_tool(toolname, table.pack(...)) end -- has the given c funcs? |
