It's build time specific and should not be packaged, otherwise, it will
introduce conflicts among multilib build.

Signed-off-by: Ming Liu <[email protected]>
---
 meta/recipes-support/libcroco/libcroco_0.6.8.bb | 11 +++++++++++
 1 file changed, 11 insertions(+)

diff --git a/meta/recipes-support/libcroco/libcroco_0.6.8.bb 
b/meta/recipes-support/libcroco/libcroco_0.6.8.bb
index 7d04265..a926a1c 100644
--- a/meta/recipes-support/libcroco/libcroco_0.6.8.bb
+++ b/meta/recipes-support/libcroco/libcroco_0.6.8.bb
@@ -19,3 +19,14 @@ GNOME_COMPRESS_TYPE = "xz"
 
 SRC_URI[archive.md5sum] = "767e73c4174f75b99695d4530fd9bb80"
 SRC_URI[archive.sha256sum] = 
"ea6e1b858c55219cefd7109756bff5bc1a774ba7a55f7d3ccd734d6b871b8570"
+
+#
+# Don't package croco-0.6-config, it's build time specific.
+# Otherwise, it would cause conflicts among multilib install. 
+#
+PACKAGE_PREPROCESS_FUNCS += "croco_package_preprocess"
+croco_package_preprocess () {
+       if [ -f ${PKGD}/${bindir}/croco-0.6-config ]; then
+               rm -f ${PKGD}/${bindir}/croco-0.6-config
+       fi
+}
-- 
1.8.4.1

-- 
_______________________________________________
Openembedded-core mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-core

Reply via email to