diff options
| author | ruki <[email protected]> | 2024-09-21 00:56:56 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-09-23 09:43:53 +0800 |
| commit | 7af1ca50e38a7cf21048be7a62bd30103421cceb (patch) | |
| tree | aeb13deca5fcab0a43554fe120d3091a52e5637c /xmake/core/tool/toolchain.lua | |
| parent | 4fd8d5eec226060ee62b24c56ae4e303d4ededba (diff) | |
fix host toolchain
Diffstat (limited to 'xmake/core/tool/toolchain.lua')
| -rw-r--r-- | xmake/core/tool/toolchain.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/xmake/core/tool/toolchain.lua b/xmake/core/tool/toolchain.lua index ce6b834a6..a8c4e514a 100644 --- a/xmake/core/tool/toolchain.lua +++ b/xmake/core/tool/toolchain.lua @@ -167,7 +167,7 @@ end function _instance:is_cross() if self:kind() == "cross" then return true - elseif self:kind() == "standalone" and (self:cross() or self:sdkdir()) then + elseif self:kind() == "standalone" and (self:cross() or self:config("sdkdir") or self:info():get("sdkdir")) then return true end end |
