mirror of https://git.wownero.com/dsc/mxe.git
build-pkg: use config.guess to get native target
This commit is contained in:
parent
987f8a09de
commit
4ed7cd1b1e
|
@ -158,8 +158,9 @@ local function fileExists(name)
|
|||
end
|
||||
end
|
||||
|
||||
local NATIVE_TARGET = trim(shell("ext/config.guess"))
|
||||
local function isCross(target)
|
||||
return not isInString('unknown', target)
|
||||
return target ~= NATIVE_TARGET
|
||||
end
|
||||
|
||||
-- return target and package from item name
|
||||
|
|
Loading…
Reference in New Issue