]> git.ipfire.org Git - thirdparty/lxc.git/commitdiff
meson: Fix mntent include condition 4135/head
authorStéphane Graber <stgraber@ubuntu.com>
Tue, 7 Jun 2022 21:16:08 +0000 (17:16 -0400)
committerStéphane Graber <stgraber@ubuntu.com>
Tue, 7 Jun 2022 21:26:47 +0000 (17:26 -0400)
Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
src/include/meson.build

index 88fe54ad87404d9704ac38db71bcad91b1021483..eb7238a4c56aa34caef0a1f92d2c65996b60468f 100644 (file)
@@ -27,7 +27,7 @@ if srcconf.get('HAVE_GETGRGID_R') == 0
         'getgrgid_r.h')
 endif
 
-if srcconf.get('HAVE_HASMNTOPT') == 0 or srcconf.get('HAVE_SETMNTENT') == 0 or srcconf.get('HAVE_ENDMNTENT') == 0
+if srcconf.get('IS_BIONIC') == 1 or srcconf.get('HAVE_HASMNTOPT') == 0 or srcconf.get('HAVE_SETMNTENT') == 0 or srcconf.get('HAVE_ENDMNTENT') == 0
     include_sources += files(
         'lxcmntent.c',
         'lxcmntent.h')