[OE-core] [PATCH] libcap 2.22: fix, disable gperf detection
Matthieu Crapet
Matthieu.Crapet at ingenico.com
Fri Mar 28 16:13:35 UTC 2014
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 <Matthieu.Crapet at ingenico.com>
---
meta/recipes-support/libcap/libcap.inc | 3 +++
1 file changed, 3 insertions(+)
diff --git a/meta/recipes-support/libcap/libcap.inc b/meta/recipes-support/libcap/libcap.inc
index ccc0fde..fef700a 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 = " \
--
1.8.5.4
More information about the Openembedded-core
mailing list