From d5dff814acd627e21c4dc1b5dc64d66fd074e9ce Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Graber?= Date: Tue, 7 Jun 2022 15:14:01 -0400 Subject: [PATCH] meson: Add bionic detection MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stéphane Graber --- meson.build | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/meson.build b/meson.build index 54db06b28..0fe5008ab 100644 --- a/meson.build +++ b/meson.build @@ -127,6 +127,11 @@ else distrosysconfdir = '' endif +# Cross-compile on Android. +if host_machine.system() == 'android' + srcconf.set10('IS_BIONIC', true) +endif + # Custom configuration. cgrouppattern = get_option('cgroup-pattern') coverity = get_option('coverity-build')