From: Stéphane Graber Date: Tue, 7 Jun 2022 21:16:08 +0000 (-0400) Subject: meson: Fix mntent include condition X-Git-Tag: lxc-5.0.0~9^2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7eac83c1b107db0f3053337aaa41b11cb1dd018b;p=thirdparty%2Flxc.git meson: Fix mntent include condition Signed-off-by: Stéphane Graber --- diff --git a/src/include/meson.build b/src/include/meson.build index 88fe54ad8..eb7238a4c 100644 --- a/src/include/meson.build +++ b/src/include/meson.build @@ -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')