configure: Fix Android detection
This commit is contained in:
parent
2507c71704
commit
414c22c67b
1 changed files with 3 additions and 1 deletions
4
configure
vendored
4
configure
vendored
|
@ -58,7 +58,9 @@ test -n "$CC" && cc="$CC"
|
||||||
cpu=`uname -m`
|
cpu=`uname -m`
|
||||||
cpu_sys="$cpu"
|
cpu_sys="$cpu"
|
||||||
targetos=`uname`
|
targetos=`uname`
|
||||||
test "$(uname -s)" = "Android" && targetos=Android
|
if test "$targetos" = "Linux" ; then
|
||||||
|
test "$(uname -o)" = "Android" && targetos=Android
|
||||||
|
fi
|
||||||
|
|
||||||
case $targetos in
|
case $targetos in
|
||||||
Darwin)
|
Darwin)
|
||||||
|
|
Loading…
Reference in a new issue