Skip to content

Commit

Permalink
fix bindir #5776
Browse files Browse the repository at this point in the history
  • Loading branch information
waruqi committed Nov 2, 2024
1 parent c6bb229 commit 081ecb8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion xmake/core/tool/toolchain.lua
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 081ecb8

Please sign in to comment.