Re: [PATCH] kbuild: improve libelf detection

2021-01-13 Thread Rolf Eike Beer
Am Dienstag, 12. Januar 2021, 20:00:10 CET schrieb Alistair Delva: > When `pkg-config --libs' wasn't used or didn't return anything useful, > the test for libelf would fail even if the headers and libraries were > available to kbuild via KBUILD_HOSTCFLAGS and KBUILD_HOSTLDFLAGS. > > This makes

[PATCH] kbuild: improve libelf detection

2021-01-12 Thread Alistair Delva
When `pkg-config --libs' wasn't used or didn't return anything useful, the test for libelf would fail even if the headers and libraries were available to kbuild via KBUILD_HOSTCFLAGS and KBUILD_HOSTLDFLAGS. This makes the check in the core Makefile match the check that is done in