]> code.ossystems Code Review - openembedded-core.git/commitdiff
gettext: Delete libintl.h and charset.alias
authorKhem Raj <raj.khem@gmail.com>
Thu, 19 Nov 2015 00:26:26 +0000 (00:26 +0000)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Sat, 12 Dec 2015 23:31:44 +0000 (23:31 +0000)
libintl.h is already provided by musl and charset.alias is regenerated
by packages themselves

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Signed-off-by: Ross Burton <ross.burton@intel.com>
meta/recipes-core/gettext/gettext_0.16.1.bb
meta/recipes-core/gettext/gettext_0.19.4.bb

index f9f7a7f4c86e850fc4a132942bb2ee37773b1eb0..cd0b759d527f7352e93500ad0fe023962c3515b9 100644 (file)
@@ -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
index cebf6c78c6c3fa6aab6cd4a171f4c75ada7bed00..a9c919a09f188b8fc68b83eaa467a16d6f7049e8 100644 (file)
@@ -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: