aboutsummaryrefslogtreecommitdiff
path: root/libcap
diff options
context:
space:
mode:
authorMatthieu Crapet <mcrapet@gmail.com>2014-03-28 14:11:15 +0100
committerJorge Lucangeli Obes <jorgelo@google.com>2015-09-03 14:13:03 -0700
commit203b6d06e3ad158d7cf5e9232c6de1b8c6a776a9 (patch)
treec3673008ec652c36cdd2d87c61658c4f382d6595 /libcap
parent2749c0d767715ffd50b2a8a1049796161506eb54 (diff)
downloadlibcap-203b6d06e3ad158d7cf5e9232c6de1b8c6a776a9.tar.gz
Make.Rules: add gperf detection and fix INDENT test
Move gperf detection from libcap/Makefile to Make.Rules to be more cross-environment friendly. Fix INDENT test (dollar sign must be doubled): http://www.gnu.org/software/make/manual/make.html#Variables-in-Recipes Signed-off-by: Matthieu Crapet <mcrapet@gmail.com> Signed-off-by: Andrew G Morgan <morgan@kernel.org>
Diffstat (limited to 'libcap')
-rw-r--r--libcap/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libcap/Makefile b/libcap/Makefile
index 20ab00f..80ccf3c 100644
--- a/libcap/Makefile
+++ b/libcap/Makefile
@@ -28,7 +28,7 @@ GPERF_OUTPUT = _caps_output.gperf
all: $(MINLIBNAME) $(STALIBNAME) libcap.pc
-ifeq ($(shell gperf --version > /dev/null 2>&1 && echo yes),yes)
+ifeq ($(BUILD_GPERF),yes)
USE_GPERF_OUTPUT = $(GPERF_OUTPUT)
INCLUDE_GPERF_OUTPUT = -include $(GPERF_OUTPUT)
endif