selftests/bpf: Choose pkg-config for the target
authorAkihiko Odaki <akihiko.odaki@daynix.com>
Sat, 25 Nov 2023 08:42:50 +0000 (17:42 +0900)
committerAndrii Nakryiko <andrii@kernel.org>
Wed, 29 Nov 2023 06:15:29 +0000 (22:15 -0800)
commit2ce344b6891618063c0bebe22d9cdf9c086e0aa8
tree044a6da576331c259cbb5941fb66cf451928e2cc
parentd4e7dd4842b190e87a5b7179a460f54b13da3ac4
selftests/bpf: Choose pkg-config for the target

pkg-config is used to build sign-file executable. It should use the
library for the target instead of the host as it is called during tests.

Signed-off-by: Akihiko Odaki <akihiko.odaki@daynix.com>
Signed-off-by: Andrii Nakryiko <andrii@kernel.org>
Link: https://lore.kernel.org/bpf/20231125084253.85025-2-akihiko.odaki@daynix.com
tools/testing/selftests/bpf/Makefile