mirror of
https://github.com/elua/elua.git
synced 2025-01-25 01:02:54 +08:00
toolchain not found even it is existing - OSX
This commit is contained in:
parent
be3e050d38
commit
6d825ec4ae
@ -233,7 +233,7 @@ else
|
|||||||
local c = usable_chains[ i ]
|
local c = usable_chains[ i ]
|
||||||
local t = bd.get_toolchain_data( c )
|
local t = bd.get_toolchain_data( c )
|
||||||
local res = utils.check_command( t.compile .. " " .. t.version )
|
local res = utils.check_command( t.compile .. " " .. t.version )
|
||||||
if res == 0 then chain = c break end
|
if res == 0 or res == true then chain = c break end
|
||||||
end
|
end
|
||||||
if chain then
|
if chain then
|
||||||
comp.toolchain = chain
|
comp.toolchain = chain
|
||||||
|
Loading…
x
Reference in New Issue
Block a user