diff options
author | Peter Wu <peter@lekensteyn.nl> | 2019-08-13 01:38:33 +0100 |
---|---|---|
committer | Daniel Borkmann <daniel@iogearbox.net> | 2019-08-13 16:22:07 +0200 |
commit | d66fa3c70e598746a907e5db5ed024035e01817a (patch) | |
tree | bf25c7003ba841d227aa82a900cb5df944e0694b /tools/bpf/bpftool/json_writer.c | |
parent | 341dfcf8d78eaa3a2dc96dea06f0392eb2978364 (diff) | |
download | linux-d66fa3c70e598746a907e5db5ed024035e01817a.tar.bz2 |
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 'tools/bpf/bpftool/json_writer.c')
0 files changed, 0 insertions, 0 deletions