meson: Don't build libkms for Android.

Nobody wants that that I know of.

Reviewed-by: Kristian H. Kristensen <hoegsberg@google.com>
Reviewed-by: Eric Engestrom <eric@engestrom.ch>
main
Eric Anholt 2021-04-22 16:25:07 -07:00 committed by Emma Anholt
parent a819b9ad3b
commit e6fb9ccf2a
1 changed files with 1 additions and 1 deletions

View File

@ -173,7 +173,7 @@ endif
with_libkms = false
_libkms = get_option('libkms')
if _libkms != 'false'
with_libkms = _libkms == 'true' or ['linux', 'freebsd', 'dragonfly'].contains(host_machine.system())
with_libkms = _libkms == 'true' or (['linux', 'freebsd', 'dragonfly'].contains(host_machine.system()) and not android)
endif
# Among others FreeBSD does not have a separate dl library.