Commit 649b30ad authored by Committed by Petr Machata
Fix building with libelf in a non-standard location
The default action for AC_CHECK_LIB adds -lelf to LIBS. If libelf.so is in a non-standard location, this causes all subsequent link operations to fail, including all of the function presence tests. Change the action to set libelf_LIBS instead, like for every other library. Makefile.am already uses that variable, so no change required there.
Showing with 2 additions and 1 deletion