perf_counter tools: Fix libbfd detection for systems with libz dependency
authorMike Galbraith <efault@gmx.de>
Sat, 8 Aug 2009 12:14:15 +0000 (14:14 +0200)
committerIngo Molnar <mingo@elte.hu>
Sun, 9 Aug 2009 10:54:47 +0000 (12:54 +0200)
commit183f3b0887083d36c8a25cd5e3518906415d1889
treeede429e89d4e0553246454a5ee6b36c276872003
parentc24b513337f06712b8c81eb4f1413d44591dfee7
perf_counter tools: Fix libbfd detection for systems with libz dependency

Due to a libz dependency in some distro's binutils package,
C++ demangle support isn't compiled in despite the necessary
libraries being available.

Fix this by adding a -lz link test to the dependency detection
rules.

Signed-off-by: Mike Galbraith <efault@gmx.de>
Acked-by: Peter Zijlstra <a.p.zijlstra@chello.nl>
LKML-Reference: <1249733655.6929.5.camel@marge.simson.net>
Signed-off-by: Ingo Molnar <mingo@elte.hu>
tools/perf/Makefile