From cf2dc6906296c67818569d4f817be3b9c27c8bd9 Mon Sep 17 00:00:00 2001 From: Yu Watanabe Date: Sun, 15 May 2022 18:10:25 +0900 Subject: [PATCH] meson: use boolean for configuration_data.set10() Setting with number is deprecated: ``` meson.build:1008: DEPRECATION: configuration_data.set10 with number. the `set10` method should only be used with booleans ``` --- meson.build | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meson.build b/meson.build index 60e646ec9f..05f6d2a8ac 100644 --- a/meson.build +++ b/meson.build @@ -1004,7 +1004,7 @@ libbpf = dependency('libbpf', required : bpf_framework_required, version : '>= 0 conf.set10('HAVE_LIBBPF', libbpf.found()) if want_bpf_framework == 'false' or not libbpf.found() - conf.set10('BPF_FRAMEWORK', 0) + conf.set10('BPF_FRAMEWORK', false) else # Support 'versioned' clang/llvm-strip binaries, as seen on Debian/Ubuntu # (like clang-10/llvm-strip-10)