diff options
| author | Andrii Nakryiko <[email protected]> | 2019-12-16 10:38:29 -0800 |
|---|---|---|
| committer | Alexei Starovoitov <[email protected]> | 2019-12-16 14:55:29 -0800 |
| commit | dbd8f6bae6f4a98aa517aeda6e5276ed4a20f571 (patch) | |
| tree | 33bd45a17977965a56d4d4d5cda180a6b56f5c07 /tools/perf/scripts/python/check-perf-trace.py | |
| parent | dc3a2d254782dea8e23a55f46129105ecfe787fb (diff) | |
libbpf: Add zlib as a dependency in pkg-config template
List zlib as another dependency of libbpf in pkg-config template.
Verified it is correctly resolved to proper -lz flag:
$ make DESTDIR=/tmp/libbpf-install install
$ pkg-config --libs /tmp/libbpf-install/usr/local/lib64/pkgconfig/libbpf.pc
-L/usr/local/lib64 -lbpf
$ pkg-config --libs --static /tmp/libbpf-install/usr/local/lib64/pkgconfig/libbpf.pc
-L/usr/local/lib64 -lbpf -lelf -lz
Fixes: 166750bc1dd2 ("libbpf: Support libbpf-provided extern variables")
Signed-off-by: Andrii Nakryiko <[email protected]>
Signed-off-by: Alexei Starovoitov <[email protected]>
Acked-by: Yonghong Song <[email protected]>
Cc: Luca Boccassi <[email protected]>
Link: https://lore.kernel.org/bpf/[email protected]
Diffstat (limited to 'tools/perf/scripts/python/check-perf-trace.py')
0 files changed, 0 insertions, 0 deletions