diff options
author | 2019-12-16 11:24:05 +0100 | |
---|---|---|
committer | 2019-12-16 06:58:10 -0800 | |
commit | 5615ed472dc04e38a1affca69059f17c1178f770 (patch) | |
tree | f120a89d2e6bd09c04b1910ab9d47c9c03352c46 /samples/bpf/hbm_kern.h | |
parent | samples/bpf: Reintroduce missed build targets (diff) | |
download | linux-5615ed472dc04e38a1affca69059f17c1178f770.tar.gz linux-5615ed472dc04e38a1affca69059f17c1178f770.tar.bz2 linux-5615ed472dc04e38a1affca69059f17c1178f770.zip |
samples/bpf: Add missing -lz to TPROGS_LDLIBS
Since libbpf now links against zlib, this needs to be included in the
linker invocation for the userspace programs in samples/bpf that link
statically against libbpf.
Fixes: 166750bc1dd2 ("libbpf: Support libbpf-provided extern variables")
Signed-off-by: Toke Høiland-Jørgensen <toke@redhat.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Tested-by: Björn Töpel <bjorn.topel@intel.com>
Link: https://lore.kernel.org/bpf/20191216102405.353834-1-toke@redhat.com
Diffstat (limited to 'samples/bpf/hbm_kern.h')
0 files changed, 0 insertions, 0 deletions