configure: Fix Android detection

This commit is contained in:
Detlef Riekenberg 2022-09-24 02:33:46 +02:00
parent 2507c71704
commit 414c22c67b

4
configure vendored
View File

@ -58,7 +58,9 @@ test -n "$CC" && cc="$CC"
cpu=`uname -m`
cpu_sys="$cpu"
targetos=`uname`
test "$(uname -s)" = "Android" && targetos=Android
if test "$targetos" = "Linux" ; then
test "$(uname -o)" = "Android" && targetos=Android
fi
case $targetos in
Darwin)