meson: Don't try to build GLX by default on Android.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/7227>
This commit is contained in:
Eric Anholt 2020-10-19 13:46:11 -07:00 committed by Marge Bot
parent e3c330c7b2
commit f2a27d72de

View File

@ -350,7 +350,9 @@ endif
with_glx = get_option('glx')
if with_glx == 'auto'
if with_dri
if with_platform_android
with_glx = 'disabled'
elif with_dri
with_glx = 'dri'
elif with_platform_haiku
with_glx = 'disabled'