diff options
author | Andrii Nakryiko <andrii@kernel.org> | 2023-11-29 07:15:29 +0100 |
---|---|---|
committer | Andrii Nakryiko <andrii@kernel.org> | 2023-11-29 07:15:30 +0100 |
commit | 40d0eb0259ae77ace3e81d7454d1068c38bc95c2 (patch) | |
tree | 0ce3896096bf17db577b084f544e8aa5b69335f1 /tools/include | |
parent | Merge branch 'bpf-add-link_info-support-for-uprobe-multi-link' (diff) | |
parent | selftests/bpf: Use pkg-config for libelf (diff) | |
download | linux-40d0eb0259ae77ace3e81d7454d1068c38bc95c2.tar.xz linux-40d0eb0259ae77ace3e81d7454d1068c38bc95c2.zip |
Merge branch 'selftests-bpf-use-pkg-config-to-determine-ld-flags'
Akihiko Odaki says:
====================
selftests/bpf: Use pkg-config to determine ld flags
When linking statically, libraries may require other dependencies to be
included to ld flags. In particular, libelf may require libzstd. Use
pkg-config to determine such dependencies.
V4 -> V5: Introduced variables LIBELF_CFLAGS and LIBELF_LIBS.
(Daniel Borkmann)
Added patch "selftests/bpf: Choose pkg-config for the target".
V3 -> V4: Added "2> /dev/null".
V2 -> V3: Added missing "echo".
V1 -> V2: Implemented fallback, referring to HOSTPKG_CONFIG.
====================
Link: https://lore.kernel.org/r/20231125084253.85025-1-akihiko.odaki@daynix.com
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Diffstat (limited to 'tools/include')
0 files changed, 0 insertions, 0 deletions