From: Thomas Weißschuh Date: Wed, 29 Apr 2026 12:34:57 +0000 (+0200) Subject: meson: gate losetup on LINUX X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=f271913d6f79fde6b7d10d9e4f5d77b93fcfd0e0;p=thirdparty%2Futil-linux.git meson: gate losetup on LINUX This tool uses Linux-specific API, encode this in the build system. Also the parts of libcommon providing loopback handling are gated behind LINUX. Signed-off-by: Thomas Weißschuh --- diff --git a/meson.build b/meson.build index 59e1608c3..4ee9cd6aa 100644 --- a/meson.build +++ b/meson.build @@ -1864,7 +1864,9 @@ if opt and not is_disabler(exe) bashcompletions += ['eject'] endif -opt = get_option('build-losetup').allowed() +opt = get_option('build-losetup') \ + .require(LINUX) \ + .allowed() exe = executable( 'losetup', losetup_sources,