perf tools: Explicitly add libdl dependency
authorDavid Ahern <dsahern@gmail.com>
Mon, 23 Sep 2013 01:44:57 +0000 (19:44 -0600)
committerArnaldo Carvalho de Melo <acme@redhat.com>
Wed, 25 Sep 2013 15:39:27 +0000 (12:39 -0300)
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>
tools/perf/config/Makefile

index 346ee929d250b7790cf9ed3371e60b036a87e9ca..5f6f9b3271bb0657b77206f6723fd8b3786041bd 100644 (file)
@@ -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