lkml.org 
[lkml]   [2010]   [Nov]   [30]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
Patch in this message
/
From
Subject[PATCH 1/2] perf: remove dep on -lelf during libaudit check
Date
If your machine does not have the elfutils-devel installed on it,
then the check of libaudit will fail even though the machine has
the audit-libs-devel package installed.

The check for -lelf is unneeded.

Signed-off-by: Don Zickus <dzickus@redhat.com>
---
tools/perf/Makefile | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/tools/perf/Makefile b/tools/perf/Makefile
index b3e6bc6..78ca0b5 100644
--- a/tools/perf/Makefile
+++ b/tools/perf/Makefile
@@ -518,7 +518,7 @@ PERFLIBS = $(LIB_FILE)
-include config.mak

ifndef NO_AUDIT
-FLAGS_AUDIT=$(ALL_CFLAGS) -laudit $(ALL_LDFLAGS) $(EXTLIBS)
+FLAGS_AUDIT=$(ALL_CFLAGS) -laudit $(ALL_LDFLAGS)
ifneq ($(call try-cc,$(SOURCE_AUDIT),$(FLAGS_AUDIT)),y)
msg := $(error No libaudit found. Please install audit-libs-dev/audit-libs-devel);
NO_AUDIT := 1
--
1.7.3.2


\
 
 \ /
  Last update: 2010-11-30 23:15    [W:0.065 / U:0.204 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site