From: Khem Raj Date: Thu, 19 Nov 2015 00:26:26 +0000 (+0000) Subject: gettext: Delete libintl.h and charset.alias X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=083d9d1e58c08e850bfde1ae16dc1e68323be8ec;p=thirdparty%2Fopenembedded%2Fopenembedded-core-contrib.git gettext: Delete libintl.h and charset.alias libintl.h is already provided by musl and charset.alias is regenerated by packages themselves (From OE-Core rev: 25f91036e14392638e549d3d0b2914e93e6f4596) Signed-off-by: Khem Raj Signed-off-by: Ross Burton Signed-off-by: Richard Purdie --- diff --git a/meta/recipes-core/gettext/gettext_0.16.1.bb b/meta/recipes-core/gettext/gettext_0.16.1.bb index f9f7a7f4c86..cd0b759d527 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 cebf6c78c6c..a9c919a09f1 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: