perf tools: Explicitly add libdl dependency
authorDavid Ahern <[email protected]>
Mon, 23 Sep 2013 01:44:57 +0000 (19:44 -0600)
committerArnaldo Carvalho de Melo <[email protected]>
Wed, 25 Sep 2013 15:39:27 +0000 (12:39 -0300)
Fixes compile failure on Fedora 12.

Signed-off-by: David Ahern <[email protected]>
Link: http://lkml.kernel.org/r/[email protected]
Signed-off-by: Arnaldo Carvalho de Melo <[email protected]>
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