From: Thomas Weißschuh Date: Wed, 22 Apr 2026 21:10:53 +0000 (+0200) Subject: meson: gate utmpdump on LINUX X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=2fea683b5016c00433a4b51b8be12f06b56a4e4f;p=thirdparty%2Futil-linux.git meson: gate utmpdump on LINUX This tool uses Linux-specific API, encode this in the build system. Signed-off-by: Thomas Weißschuh --- diff --git a/meson.build b/meson.build index 14d9e36d2..c16310b5e 100644 --- a/meson.build +++ b/meson.build @@ -1147,7 +1147,9 @@ if opt and not is_disabler(exe) manadocs += nologin_manadocs endif -opt = get_option('build-utmpdump').allowed() +opt = get_option('build-utmpdump') \ + .require(LINUX) \ + .allowed() exe = executable( 'utmpdump', 'login-utils/utmpdump.c',