]> git.ipfire.org Git - thirdparty/systemd.git/commitdiff
meson: disable bpf if skip-deps is enabled
authorYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 15 May 2022 14:13:38 +0000 (23:13 +0900)
committerYu Watanabe <watanabe.yu+github@gmail.com>
Sun, 15 May 2022 18:37:21 +0000 (03:37 +0900)
meson.build

index 05f6d2a8acb90bf21354fd78d8d8cee939eb9f51..52d36d71160588eb594710c3cd05e0764970d053 100644 (file)
@@ -1003,7 +1003,7 @@ bpf_framework_required = want_bpf_framework == 'true'
 libbpf = dependency('libbpf', required : bpf_framework_required, version : '>= 0.2')
 conf.set10('HAVE_LIBBPF', libbpf.found())
 
-if want_bpf_framework == 'false' or not libbpf.found()
+if want_bpf_framework == 'false' or not libbpf.found() or skip_deps
         conf.set10('BPF_FRAMEWORK', false)
 else
         # Support 'versioned' clang/llvm-strip binaries, as seen on Debian/Ubuntu