]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
meson: Add bionic detection
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 7 Jun 2022 19:14:01 +0000 (15:14 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 7 Jun 2022 21:18:08 +0000 (17:18 -0400)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
meson.build

index 54db06b282fd3497710bdde82598492480aa0f01..0fe5008abd29fe69cd28fb14a6f08f54df0b3fd8 100644 (file)
@@ -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')