From: Thomas Weißschuh Date: Wed, 22 Apr 2026 21:17:45 +0000 (+0200) Subject: meson: gate lsmem on LINUX X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=28f85f40a696d4ed32cd9d42d3d5715ea7446fd1;p=thirdparty%2Futil-linux.git meson: gate lsmem 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 c16310b5e..ceaef9f09 100644 --- a/meson.build +++ b/meson.build @@ -1455,7 +1455,9 @@ if opt and not is_disabler(exe) bashcompletions += ['hexdump'] endif -opt = get_option('build-lsmem').allowed() +opt = get_option('build-lsmem') \ + .require(LINUX) \ + .allowed() exe = executable( 'lsmem', lsmem_sources,