From: Thomas Weißschuh Date: Wed, 22 Apr 2026 21:12:53 +0000 (+0200) Subject: meson: gate vipw on shadow.h X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=1d349ee21c59b596ffc07ade8de9a7cfe27cb6be;p=thirdparty%2Futil-linux.git meson: gate vipw on shadow.h The target needs this header, encode this in the build system. Signed-off-by: Thomas Weißschuh --- diff --git a/meson.build b/meson.build index 2599db937..9929dec54 100644 --- a/meson.build +++ b/meson.build @@ -1219,7 +1219,9 @@ if opt and not is_disabler(exe) bashcompletions += ['lslogins'] endif -opt = get_option('build-vipw').allowed() +opt = get_option('build-vipw') \ + .require(conf.get('HAVE_SHADOW_H').to_string() == '1') \ + .allowed() exe = executable( 'vipw', 'login-utils/vipw.c',