]> git.baikalelectronics.ru Git - kernel.git/commit
samples/bpf: Add missing -lz to TPROGS_LDLIBS
authorToke Høiland-Jørgensen <toke@redhat.com>
Mon, 16 Dec 2019 10:24:05 +0000 (11:24 +0100)
committerAlexei Starovoitov <ast@kernel.org>
Mon, 16 Dec 2019 14:58:10 +0000 (06:58 -0800)
commit7ae304ac7aae451fc79946794bd64c8174c449be
treef120a89d2e6bd09c04b1910ab9d47c9c03352c46
parent695ccf5ce54c8de497896cd31eddf2de1a7179cb
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: 0523e889ce08 ("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
samples/bpf/Makefile