perf tools: Fix static linking with libdw from elfutils
authorKonstantin Khlebnikov <khlebnikov@yandex-team.ru>
Sun, 20 Aug 2017 11:39:27 +0000 (14:39 +0300)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Tue, 22 Aug 2017 16:24:54 +0000 (13:24 -0300)
commitba335df4ea2a5011002c5cde53bab6d7f5d714d8
tree6dd01027dadf65c2bb478b6c55eb3bd5d1917f12
parentac0bb6b72f4bbab08f270a919406d971e73698b5
perf tools: Fix static linking with libdw from elfutils

Fix feature test for static libdw: link required dependencies.  Backends
of libebl are not statically linked thus libdl is required.

In Debian/Ubuntu libdw-dev includes libebl.a starting from 0.166-1.

Signed-off-by: Konstantin Khlebnikov <khlebnikov@yandex-team.ru>
Cc: Alexander Shishkin <alexander.shishkin@linux.intel.com>
Cc: Peter Zijlstra <peterz@infradead.org>
Link: http://lkml.kernel.org/r/150322916720.129772.7959925864494283854.stgit@buzz
Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
tools/perf/Makefile.config