summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorDavid Ahern <dsahern@gmail.com>2013-09-22 19:44:57 -0600
committerArnaldo Carvalho de Melo <acme@redhat.com>2013-09-25 12:39:27 -0300
commit6d19912c9bc0ae0ba5f7dd32c714ea7cc3339c81 (patch)
tree4a2c29e1b9c248629e053d49e2b7130d645f7f33 /tools
parent576b523721b7fbbf44a411ff0b3d958906c41653 (diff)
downloadlwn-6d19912c9bc0ae0ba5f7dd32c714ea7cc3339c81.tar.gz
lwn-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