diff options
| author | ruki <[email protected]> | 2020-11-08 19:31:39 +0800 |
|---|---|---|
| committer | ruki <[email protected]> | 2020-11-08 19:31:39 +0800 |
| commit | 89ca182fc97765d4e2a7bb57a565044fdca07586 (patch) | |
| tree | 39dc277ea6ac1dda1188d1cf3ae5ca21cf234b22 | |
| parent | e6b218340557d4493aeb42b6117c3cbb1ec9a5d5 (diff) | |
fix toolchain bindir
| -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 725d1abd9..3a971362d 100644 --- a/xmake/core/tool/toolchain.lua +++ b/xmake/core/tool/toolchain.lua @@ -179,7 +179,7 @@ end -- get the bin directory function _instance:bindir() local bindir = config.get("bin") or self:info():get("bindir") - if self:cross() and self:sdkdir() and os.isdir(path.join(self:sdkdir(), "bin")) then + if not bindir and self:cross() and self:sdkdir() and os.isdir(path.join(self:sdkdir(), "bin")) then bindir = path.join(self:sdkdir(), "bin") end return bindir |
