From: Thomas Weißschuh Date: Wed, 29 Apr 2026 11:56:11 +0000 (+0200) Subject: meson: gate pivot_root on LINUX X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=aaf19e7314824f641f343ee7de927d8e3ead1bfb;p=thirdparty%2Futil-linux.git meson: gate pivot_root 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 d67fec2f3..8ce013a20 100644 --- a/meson.build +++ b/meson.build @@ -2131,7 +2131,9 @@ if opt and not is_disabler(exe) bashcompletions += ['fallocate'] endif -opt = get_option('build-pivot_root').allowed() +opt = get_option('build-pivot_root') \ + .require(LINUX) \ + .allowed() exe = executable( 'pivot_root', pivot_root_sources,