objtool: Query pkg-config for libelf location
authorRolf Eike Beer <eb@emlix.com>
Tue, 26 Mar 2019 17:48:39 +0000 (12:48 -0500)
committerThomas Gleixner <tglx@linutronix.de>
Thu, 28 Mar 2019 12:32:01 +0000 (13:32 +0100)
commit056d28d135bca0b1d0908990338e00e9dadaf057
treee4c4bb1e57d8b4f898dedcb277441ff2555a0e65
parentcfa637cb20e96fe8cf44b867a7d7c34649cbf8eb
objtool: Query pkg-config for libelf location

If it is not in the default location, compilation fails at several points.

Signed-off-by: Rolf Eike Beer <eb@emlix.com>
Signed-off-by: Josh Poimboeuf <jpoimboe@redhat.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: stable@vger.kernel.org
Link: https://lkml.kernel.org/r/91a25e992566a7968fedc89ec80e7f4c83ad0548.1553622500.git.jpoimboe@redhat.com
Makefile
tools/objtool/Makefile