From: Thomas Weißschuh Date: Wed, 22 Apr 2026 21:26:45 +0000 (+0200) Subject: meson: gate tunelp on linux/lp.h X-Git-Url: http://git.ipfire.org/gitweb/index.cgi?a=commitdiff_plain;h=2565d450bbbce857eeb2f77e512e5c52e7e6ff20;p=thirdparty%2Futil-linux.git meson: gate tunelp on linux/lp.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 659c2530a..793da8563 100644 --- a/meson.build +++ b/meson.build @@ -118,6 +118,7 @@ headers = ''' linux/gsmmux.h linux/if_alg.h linux/landlock.h + linux/lp.h linux/kcmp.h linux/net_namespace.h linux/nsfs.h @@ -1627,7 +1628,9 @@ if not is_disabler(exe) bashcompletions += ['readprofile'] endif -opt = get_option('build-tunelp').allowed() +opt = get_option('build-tunelp') \ + .require(conf.get('HAVE_LINUX_LP_H').to_string() == '1') \ + .allowed() exe = executable( 'tunelp', tunelp_sources,