From: Thomas Weißschuh Date: Wed, 29 Apr 2026 12:26:45 +0000 (+0200) Subject: meson: gate pipesz on F_GETPIPE_SZ X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=157bbdf8b7e0417139eb5a065dbe753def91a2db;p=thirdparty%2Futil-linux.git meson: gate pipesz on F_GETPIPE_SZ The target needs this symbol, encode this in the build system. Signed-off-by: Thomas Weißschuh --- diff --git a/meson.build b/meson.build index bc0a7397f..67a4c9302 100644 --- a/meson.build +++ b/meson.build @@ -3336,7 +3336,9 @@ if opt and not is_disabler(exe) bashcompletions += ['hardlink'] endif -opt = get_option('build-pipesz').allowed() +opt = get_option('build-pipesz') \ + .require(cc.has_header_symbol('fcntl.h', 'F_GETPIPE_SZ')) \ + .allowed() exe = executable( 'pipesz', pipesz_sources,