build-pkg: use config.guess to get native target

pull/925/head
Boris Nagaev 9 years ago committed by Tony Theodore
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…
Cancel
Save