mirror of
https://github.com/systemd/systemd
synced 2024-07-21 10:17:21 +00:00
parent
048d469999
commit
ea78d2fb11
|
@ -1005,7 +1005,11 @@ else
|
|||
|
||||
# Debian installs this in /usr/sbin/ which is not in $PATH.
|
||||
# We check for 'bpftool' first, honouring $PATH, and in /usr/sbin/ for Debian.
|
||||
bpftool = find_program('bpftool', '/usr/sbin/bpftool', required : bpf_framework_required)
|
||||
# We use 'bpftool gen' subcommand, it was added by 985ead416df39d6fe8e89580cc1db6aa273e0175 (v5.6).
|
||||
bpftool = find_program('bpftool',
|
||||
'/usr/sbin/bpftool',
|
||||
required : bpf_framework_required,
|
||||
version : '>= 5.6')
|
||||
|
||||
deps_found = libbpf.found() and clang.found() and llvm_strip.found() and bpftool.found()
|
||||
# Can build BPF program from source code in restricted C
|
||||
|
|
Loading…
Reference in a new issue