diff options
author | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-15 23:13:38 +0900 |
---|---|---|
committer | Yu Watanabe <watanabe.yu+github@gmail.com> | 2022-05-16 03:37:21 +0900 |
commit | 3d954ef147324500d8b640a81cbbcdda0ce01c4d (patch) | |
tree | c0a554260c9d95f5f420e663ed91e84ea81b0b63 /meson.build | |
parent | cf2dc6906296c67818569d4f817be3b9c27c8bd9 (diff) | |
download | systemd-3d954ef147324500d8b640a81cbbcdda0ce01c4d.tar.gz |
meson: disable bpf if skip-deps is enabled
Diffstat (limited to 'meson.build')
-rw-r--r-- | meson.build | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/meson.build b/meson.build index 05f6d2a8ac..52d36d7116 100644 --- a/meson.build +++ b/meson.build @@ -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 |