From 5c7946f790b5e8da8f30e3493c04c07b30b89d17 Mon Sep 17 00:00:00 2001 From: Matthieu Crapet Date: Fri, 28 Mar 2014 17:13:35 +0100 Subject: libcap 2.22: fix, disable gperf detection gperf straight invoke is not suitable for cross environment (gperf-native should be used instead). Formal patch has been submited to the upstream. As libcap 2.24 is currently available, I prefer doing this quick fix. Signed-off-by: Matthieu Crapet Signed-off-by: Richard Purdie --- meta/recipes-support/libcap/libcap.inc | 3 +++ 1 file changed, 3 insertions(+) (limited to 'meta/recipes-support/libcap') diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc index ccc0fde20c..fef700a629 100644 --- a/meta/recipes-support/libcap/libcap.inc +++ b/meta/recipes-support/libcap/libcap.inc @@ -24,6 +24,9 @@ do_configure() { # on what should be replaced with ?= sed -e 's,:=,?=,g' -i Make.Rules sed -e 's,^BUILD_CFLAGS ?= $(.*CFLAGS),BUILD_CFLAGS := $(BUILD_CFLAGS),' -i Make.Rules + + # disable gperf detection + sed -e '/shell gperf/cifeq (,yes)' -i libcap/Makefile } EXTRA_OEMAKE = " \ -- cgit 1.2.3-korg