[Mesa-dev] [PATCH] configure.ac: Also match -androideabi tuple

Nicolas Boichat drinkcat at chromium.org
Fri May 5 02:26:00 UTC 2017


From: Nicolas Boichat <drinkcat at chromium.org>

On ARM Android platforms, the host_os tuple should be linux-androideabi,
so let's match both -android and -androideabi (or any other
-android* tuple) to determine if we should do an Android build.
---
 configure.ac | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/configure.ac b/configure.ac
index a614458ab7c..df3eb6b29ac 100644
--- a/configure.ac
+++ b/configure.ac
@@ -269,7 +269,7 @@ DEFINES="-D__STDC_CONSTANT_MACROS -D__STDC_FORMAT_MACROS -D__STDC_LIMIT_MACROS"
 AC_SUBST([DEFINES])
 android=no
 case "$host_os" in
-*-android)
+*-android*)
     android=yes
     ;;
 linux*|*-gnu*|gnu*|cygwin*)
-- 
2.13.0.rc1.294.g07d810a77f-goog



More information about the mesa-dev mailing list