]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitad734e8ef359333ac4ba3207d7c47d8b2df613c0
tree4da08bbd67b8332bd40ad2f28202b96e2dd035a7
parent3e68ac245c7c8d4d94b44fb9418c7aa50b6073d4
selftests/bpf: Fix LDLIBS order

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

Fixes: 5ff9b45984d3 ("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.73b4fa7-1-andriin@fb.com
tools/testing/selftests/bpf/Makefile