]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: use boolean for configuration_data.set10()
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 15 May 2022 09:10:25 +0000 (18:10 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 15 May 2022 18:37:21 +0000 (03:37 +0900)
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

index 60e646ec9fbcb1fa5a1e19d1700e0904185f738c..05f6d2a8acb90bf21354fd78d8d8cee939eb9f51 100644 (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)