mirror of
https://github.com/mirror/tinycc.git
synced 2025-01-15 05:20:06 +08:00
configure: Fix Android detection
This commit is contained in:
parent
2507c71704
commit
414c22c67b
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 New Issue
Block a user