summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorPaul Chaignon <paul.chaignon@gmail.com>2026-05-13 14:24:37 +0300
committerAlexei Starovoitov <ast@kernel.org>2026-05-19 05:02:43 +0300
commit879daba303f7d7c3057f4d218921621e751f1912 (patch)
treef4d57abfde851a9ffb239d85ed87e17eae4c9bf9 /include/linux
parent3fc9a70a14d04af603deafa8ba1e42abf542fcd0 (diff)
downloadlinux-879daba303f7d7c3057f4d218921621e751f1912.tar.xz
selftests/bpf: Override EXTRA_LDFLAGS for static builds
When running vmtest.sh with static linking, the bpftool_map_access selftests fail. These selftests are calling the bpftool binary in tools/sbin/ directly, which results in the following error: error while loading shared libraries: libLLVM.so.21.1: cannot open shared object file: No such file or directory To fix this, we need to also build bpftool statically. That can be done by setting EXTRA_LDFLAGS=-static. Fixes: 2d96bbdfd3b5 ("selftests/bpf: convert test_bpftool_map_access.sh into test_progs framework") Signed-off-by: Paul Chaignon <paul.chaignon@gmail.com> Reviewed-by: Jakub Sitnicki <jakub@cloudflare.com> Link: https://lore.kernel.org/r/714556da329c812988010ffe53173d9152570a78.1778669303.git.paul.chaignon@gmail.com Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Diffstat (limited to 'include/linux')
0 files changed, 0 insertions, 0 deletions