From: Thomas Weißschuh Date: Wed, 29 Apr 2026 12:13:34 +0000 (+0200) Subject: meson: gate sulogin on shadow.h X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=abb2040375b59c41b1a7378fc9ea4495632d0453;p=thirdparty%2Futil-linux.git meson: gate sulogin 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 41217c8d4..bc0a7397f 100644 --- a/meson.build +++ b/meson.build @@ -2868,7 +2868,9 @@ if opt and not is_disabler(exe) manadocs += login_manadocs endif -opt = get_option('build-sulogin').allowed() +opt = get_option('build-sulogin') \ + .require(conf.get('HAVE_SHADOW_H').to_string() == '1') \ + .allowed() exe = executable( 'sulogin', sulogin_sources,