mirror of
https://github.com/systemd/systemd-stable.git
synced 2025-01-10 01:17:44 +03:00
meson: disable bpf if skip-deps is enabled
This commit is contained in:
parent
cf2dc69062
commit
3d954ef147
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user