[oe-commits] Matthieu Crapet : libcap 2.22: fix, disable gperf detection
git at git.openembedded.org
git at git.openembedded.org
Sat Mar 29 09:58:57 UTC 2014
Module: openembedded-core.git
Branch: master-next
Commit: 585b9e79ae2b519e51ff6b5862bac707f9dc1f7a
URL: http://git.openembedded.org/?p=openembedded-core.git&a=commit;h=585b9e79ae2b519e51ff6b5862bac707f9dc1f7a
Author: Matthieu Crapet <Matthieu.Crapet at ingenico.com>
Date: Fri Mar 28 17:13:35 2014 +0100
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 <Matthieu.Crapet at ingenico.com>
Signed-off-by: Richard Purdie <richard.purdie at linuxfoundation.org>
---
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 = " \
More information about the Openembedded-commits
mailing list