From: Stéphane Graber Date: Tue, 7 Jun 2022 19:14:01 +0000 (-0400) Subject: meson: Add bionic detection X-Git-Tag: lxc-5.0.0~9^2~8 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d5dff814acd627e21c4dc1b5dc64d66fd074e9ce;p=thirdparty%2Flxc.git meson: Add bionic detection Signed-off-by: Stéphane Graber --- 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')