diff mbox series

[oe,meta-oe,10/16] zile: Fix build with musl

Message ID 20170320053152.29352-10-raj.khem@gmail.com
State New
Headers show
Series None | expand

Commit Message

Khem Raj March 20, 2017, 5:31 a.m. UTC
With musl charset.alias is generated due to a gnu-config bug

Fixes

QA Issue: zile: Files/directories were installed but not shipped in any package:
  /usr/lib
  /usr/lib/charset.alias

Signed-off-by: Khem Raj <raj.khem@gmail.com>

---
 meta-oe/recipes-support/zile/zile_2.4.11.bb | 5 +++++
 1 file changed, 5 insertions(+)

-- 
2.12.0

-- 
_______________________________________________
Openembedded-devel mailing list
Openembedded-devel@lists.openembedded.org
http://lists.openembedded.org/mailman/listinfo/openembedded-devel
diff mbox series

Patch

diff --git a/meta-oe/recipes-support/zile/zile_2.4.11.bb b/meta-oe/recipes-support/zile/zile_2.4.11.bb
index ff0517c8a..05a6afbe9 100644
--- a/meta-oe/recipes-support/zile/zile_2.4.11.bb
+++ b/meta-oe/recipes-support/zile/zile_2.4.11.bb
@@ -14,6 +14,11 @@  SRC_URI[sha256sum] = "1fd27bbddc61491b1fbb29a345d0d344734aa9e80cfa07b02892eedf83
 
 inherit autotools pkgconfig
 
+do_install_append() {
+        rm -rf ${D}${libdir}/charset.alias
+        rmdir --ignore-fail-on-non-empty ${D}${libdir}
+}
+
 PACKAGECONFIG ??= ""
 PACKAGECONFIG += "${@bb.utils.filter('DISTRO_FEATURES', 'acl', d)}"