]> git.ipfire.org Git - thirdparty/util-linux.git/commitdiff
meson: gate lsipc on LINUX
authorThomas Weißschuh <thomas@t-8ch.de>
Wed, 29 Apr 2026 12:30:00 +0000 (14:30 +0200)
committerThomas Weißschuh <thomas@t-8ch.de>
Thu, 14 May 2026 11:19:43 +0000 (13:19 +0200)
This tool uses Linux-specific API, encode this in the build system.

Signed-off-by: Thomas Weißschuh <thomas@t-8ch.de>
meson.build

index 8ce013a2091314f173ebc67c003c6ccd6d5c5252..8abef86ef9103a3ff35d031e38c25274bfccc34e 100644 (file)
@@ -2293,7 +2293,9 @@ if opt and not is_disabler(exe)
   bashcompletions += ['irqtop']
 endif
 
-opt = get_option('build-ipcs').allowed()
+opt = get_option('build-ipcs') \
+      .require(LINUX) \
+      .allowed()
 exe = executable(
   'lsipc',
   lsipc_sources,