meson: disable bpf if skip-deps is enabled
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user