summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Anholt <eric@anholt.net>2021-04-22 16:25:07 -0700
committerEric Anholt <eric@anholt.net>2021-04-22 16:25:07 -0700
commitbfd7b6fe1a694501c0e282d54cbd80421f31b11b (patch)
tree74f60b3551a7a7fc0484fae7bc51efffd3d6c8ca
parent9125e33cc2f32e7b1fd015906764a5cba77e0417 (diff)
meson: Don't build libkms for Android.android
Nobody wants that that I know of.
-rw-r--r--meson.build2
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build
index 9372c1b1..18547c5e 100644
--- a/meson.build
+++ b/meson.build
@@ -168,7 +168,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.