diff options
| author | ruki <[email protected]> | 2024-11-02 23:09:41 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2024-11-02 23:09:41 +0800 |
| commit | 081ecb813668bf48764ae5a2a2b33c0d4d9b6fe2 (patch) | |
| tree | 5d9a2f6bdebbab90a40b954b046a204b165da5ae | |
| parent | c6bb229de4c708506344016304b74f457f304434 (diff) | |
fix bindir #5776
| -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 d5716ce2e..29bd5a09f 100644 --- a/xmake/core/tool/toolchain.lua +++ b/xmake/core/tool/toolchain.lua @@ -239,7 +239,7 @@ end -- get the bin directory function _instance:bindir() local bindir = self:config("bindir") or config.get("bin") or self:info():get("bindir") - if not bindir and self:is_cross() and self:sdkdir() and os.isdir(path.join(self:sdkdir(), "bin")) then + if not bindir and self:sdkdir() and os.isdir(path.join(self:sdkdir(), "bin")) then bindir = path.join(self:sdkdir(), "bin") end return bindir |
