From 25f91036e14392638e549d3d0b2914e93e6f4596 Mon Sep 17 00:00:00 2001 From: Khem Raj Date: Thu, 19 Nov 2015 00:26:26 +0000 Subject: gettext: Delete libintl.h and charset.alias libintl.h is already provided by musl and charset.alias is regenerated by packages themselves Signed-off-by: Khem Raj Signed-off-by: Ross Burton --- meta/recipes-core/gettext/gettext_0.16.1.bb | 5 +++++ meta/recipes-core/gettext/gettext_0.19.4.bb | 4 ++++ 2 files changed, 9 insertions(+) (limited to 'meta/recipes-core/gettext') diff --git a/meta/recipes-core/gettext/gettext_0.16.1.bb b/meta/recipes-core/gettext/gettext_0.16.1.bb index f9f7a7f4c8..cd0b759d52 100644 --- a/meta/recipes-core/gettext/gettext_0.16.1.bb +++ b/meta/recipes-core/gettext/gettext_0.16.1.bb @@ -39,6 +39,11 @@ do_configure_prepend() { rm -f ${S}/config/m4/libtool.m4 } +do_install_append_libc-musl () { + rm -f ${D}${libdir}/charset.alias + rm -f ${D}${includedir}/libintl.h +} + # these lack the .x behind the .so, but shouldn't be in the -dev package # Otherwise you get the following results: # 7.4M glibc/images/ep93xx/Angstrom-console-image-glibc-ipk-2008.1-test-20080104-ep93xx.rootfs.tar.gz diff --git a/meta/recipes-core/gettext/gettext_0.19.4.bb b/meta/recipes-core/gettext/gettext_0.19.4.bb index cebf6c78c6..a9c919a09f 100644 --- a/meta/recipes-core/gettext/gettext_0.19.4.bb +++ b/meta/recipes-core/gettext/gettext_0.19.4.bb @@ -42,6 +42,10 @@ EXTRA_OECONF += "--without-lispdir \ acpaths = '-I ${S}/gettext-runtime/m4 \ -I ${S}/gettext-tools/m4' +do_install_append_libc-musl () { + rm -f ${D}${libdir}/charset.alias + rm -f ${D}${includedir}/libintl.h +} # these lack the .x behind the .so, but shouldn't be in the -dev package # Otherwise you get the following results: -- cgit 1.2.3-korg