From: Thomas Weißschuh Date: Wed, 29 Apr 2026 12:14:36 +0000 (+0200) Subject: meson: gate uuidd on sys/signalfd.h X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=9fa81818fe23415a9c4e1afe54440ecfa3aafb7f;p=thirdparty%2Futil-linux.git meson: gate uuidd on sys/signalfd.h The target needs this header, encode this in the build system. Signed-off-by: Thomas Weißschuh --- diff --git a/meson.build b/meson.build index 76d774f23..44af3217e 100644 --- a/meson.build +++ b/meson.build @@ -253,7 +253,9 @@ summary('libsmartcols', build_libsmartcols ? 'enabled' : 'disabled', section : ' build_libfdisk = get_option('build-libfdisk').require(get_option('build-libblkid').allowed()).allowed() summary('libfdisk', build_libfdisk ? 'enabled' : 'disabled', section : 'components') -build_uuidd = get_option('build-uuidd').allowed() +build_uuidd = get_option('build-uuidd') \ + .require(conf.get('HAVE_SYS_SIGNALFD_H').to_string() == '1') \ + .allowed() conf.set('HAVE_UUIDD', build_uuidd ? 1 : false) summary('uuidd', build_uuidd ? 'enabled' : 'disabled', section : 'components')