summaryrefslogtreecommitdiffstats
path: root/tools
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2013-09-23 03:44:57 +0200
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-09-25 17:39:27 +0200
commit6d19912c9bc0ae0ba5f7dd32c714ea7cc3339c81 (patch)
tree4a2c29e1b9c248629e053d49e2b7130d645f7f33 /tools
parentperf probe: Fix probing symbols with optimization suffix (diff)
downloadlinux-6d19912c9bc0ae0ba5f7dd32c714ea7cc3339c81.tar.xz
linux-6d19912c9bc0ae0ba5f7dd32c714ea7cc3339c81.zip
perf tools: Explicitly add libdl dependency
Fixes compile failure on Fedora 12. Signed-off-by: David Ahern <dsahern@gmail.com> Link: http://lkml.kernel.org/r/1379900700-5186-3-git-send-email-dsahern@gmail.com Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>
Diffstat (limited to 'tools')
-rw-r--r--tools/perf/config/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/perf/config/Makefile b/tools/perf/config/Makefile
index 346ee929d250..5f6f9b3271bb 100644
--- a/tools/perf/config/Makefile
+++ b/tools/perf/config/Makefile
@@ -87,7 +87,7 @@ CFLAGS += -Wall
CFLAGS += -Wextra
CFLAGS += -std=gnu99
-EXTLIBS = -lelf -lpthread -lrt -lm
+EXTLIBS = -lelf -lpthread -lrt -lm -ldl
ifeq ($(call try-cc,$(SOURCE_HELLO),$(CFLAGS) -Werror -fstack-protector-all,-fstack-protector-all),y)
CFLAGS += -fstack-protector-all