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