meson: Fix mntent include condition

Signed-off-by: Stéphane Graber <stgraber@ubuntu.com>
This commit is contained in:
Stéphane Graber 2022-06-07 17:16:08 -04:00
parent 61c40023d0
commit 7eac83c1b1
No known key found for this signature in database
GPG Key ID: C638974D64792D67

View 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')