From 414c22c67b749abfb132620907e64780a24eb241 Mon Sep 17 00:00:00 2001 From: Detlef Riekenberg Date: Sat, 24 Sep 2022 02:33:46 +0200 Subject: [PATCH] configure: Fix Android detection --- configure | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/configure b/configure index 887470c6..9924701c 100755 --- a/configure +++ b/configure @@ -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)