OSDN Git Service

selftests/bpf: Fix LDLIBS order
authorAndrii Nakryiko <andriin@fb.com>
Wed, 23 Oct 2019 15:31:28 +0000 (08:31 -0700)
committerAlexei Starovoitov <ast@kernel.org>
Wed, 23 Oct 2019 17:09:48 +0000 (10:09 -0700)
commit45e587b5e8e5f24dd2393f96546b604a38612249
tree4da08bbd67b8332bd40ad2f28202b96e2dd035a7
parent9bc6384b364407381cc24c2150d13dd29f5bfdd2
selftests/bpf: Fix LDLIBS order

Order of $(LDLIBS) matters to linker, so put it after all the .o and .a
files.

Fixes: 74b5a5968fe8 ("selftests/bpf: Replace test_progs and test_maps w/ general rule")
Reported-by: Daniel Borkmann <daniel@iogearbox.net>
Signed-off-by: Andrii Nakryiko <andriin@fb.com>
Signed-off-by: Alexei Starovoitov <ast@kernel.org>
Link: https://lore.kernel.org/bpf/20191023153128.3486140-1-andriin@fb.com
tools/testing/selftests/bpf/Makefile