Skip to content

Commit 414c22c

Browse files
committed
configure: Fix Android detection
1 parent 2507c71 commit 414c22c

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

configure

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,9 @@ test -n "$CC" && cc="$CC"
5858
cpu=`uname -m`
5959
cpu_sys="$cpu"
6060
targetos=`uname`
61-
test "$(uname -s)" = "Android" && targetos=Android
61+
if test "$targetos" = "Linux" ; then
62+
test "$(uname -o)" = "Android" && targetos=Android
63+
fi
6264

6365
case $targetos in
6466
Darwin)

0 commit comments

Comments
 (0)