Skip to content
Commit fd93aabb authored by Shen Jiamin's avatar Shen Jiamin Committed by Bruce Ashfield
Browse files

tools/resolve_btfids: Use pkg-config to locate libelf

[ Upstream commit 0e43662e

 ]

When libelf was not installed in the standard location, it cannot be
located by the current building config.

Use pkg-config to help locate libelf in such cases.

Signed-off-by: default avatarShen Jiamin <shen_jiamin@comp.nus.edu.sg>
Signed-off-by: default avatarDaniel Borkmann <daniel@iogearbox.net>
Acked-by: default avatarJiri Olsa <jolsa@kernel.org>
Link: https://lore.kernel.org/bpf/20221215044703.400139-1-shen_jiamin@comp.nus.edu.sg
Signed-off-by: default avatarXiangyu Chen <xiangyu.chen@windriver.com>
Signed-off-by: default avatarBruce Ashfield <bruce.ashfield@gmail.com>
parent 130f9da7
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment