From: Stéphane Graber Date: Tue, 7 Jun 2022 21:15:26 +0000 (-0400) Subject: meson: Add lxcmntent to unmount-namespace hook X-Git-Tag: lxc-5.0.0~9^2~2 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=faa4ae06efbe10cc00f774d9672c24100128f998;p=thirdparty%2Flxc.git meson: Add lxcmntent to unmount-namespace hook Signed-off-by: Stéphane Graber --- diff --git a/hooks/meson.build b/hooks/meson.build index d72e9b8ce..225dfcdc2 100644 --- a/hooks/meson.build +++ b/hooks/meson.build @@ -1,6 +1,11 @@ # SPDX-License-Identifier: LGPL-2.1-or-later hooks_unmount_namespace_sources = files('unmount-namespace.c') +if srcconf.get('IS_BIONIC') == 1 or srcconf.get('HAVE_HASMNTOPT') == 0 or srcconf.get('HAVE_SETMNTENT') == 0 or srcconf.get('HAVE_ENDMNTENT') == 0 + hooks_unmount_namespace_sources += files( + '../src/include/lxcmntent.c', + '../src/include/lxcmntent.h') +endif hook_programs += executable( 'unmount-namespace',