1
0
mirror of https://github.com/systemd/systemd synced 2024-07-08 20:15:55 +00:00

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
```
This commit is contained in:
Yu Watanabe 2022-05-15 18:10:25 +09:00
parent ac3eda3489
commit cf2dc69062

View File

@ -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)