diff options
author | Peter Wu <peter@lekensteyn.nl> | 2019-08-13 02:38:33 +0200 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-08-13 16:22:07 +0200 |
commit | d66fa3c70e598746a907e5db5ed024035e01817a (patch) | |
tree | bf25c7003ba841d227aa82a900cb5df944e0694b /scripts | |
parent | btf: expose BTF info through sysfs (diff) | |
download | linux-d66fa3c70e598746a907e5db5ed024035e01817a.tar.xz linux-d66fa3c70e598746a907e5db5ed024035e01817a.zip |
tools: bpftool: add feature check for zlib
bpftool requires libelf, and zlib for decompressing /proc/config.gz.
zlib is a transitive dependency via libelf, and became mandatory since
elfutils 0.165 (Jan 2016). The feature check of libelf is already done
in the elfdep target of tools/lib/bpf/Makefile, pulled in by bpftool via
a dependency on libbpf.a. Add a similar feature check for zlib.
Suggested-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Peter Wu <peter@lekensteyn.nl>
Acked-by: Jakub Kicinski <jakub.kicinski@netronome.com>
Signed-off-by: Daniel Borkmann <daniel@iogearbox.net>
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions