]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commitdiff
gettext_0.16.1: remove useless files to avoid sysroot conflicts ChenQi/gettext-sysroot
authorChen Qi <Qi.Chen@windriver.com>
Thu, 7 Jul 2016 09:25:45 +0000 (17:25 +0800)
committerChen Qi <Qi.Chen@windriver.com>
Thu, 7 Jul 2016 09:42:17 +0000 (17:42 +0800)
Do as the 0.19.6 version do, remove these files to avoid sysroot conflicts
with gettext-native-minimal.

[YOCTO #9890]

Signed-off-by: Chen Qi <Qi.Chen@windriver.com>
meta/recipes-core/gettext/gettext_0.16.1.bb

index 6095c83232ebbe356dc41b92c703701819871b45..f85cce1b102649c749e90149735555f9899a273e 100644 (file)
@@ -98,6 +98,13 @@ do_install_append() {
        rm -f ${D}${libdir}/preloadable_libintl.so
 }
 
+do_install_append_class-native () {
+       rm ${D}${datadir}/aclocal/*
+       rm ${D}${datadir}/gettext/config.rpath
+       rm ${D}${datadir}/gettext/po/Makefile.in.in
+       rm ${D}${datadir}/gettext/po/remove-potcdate.sin
+}
+
 # Anyone inheriting gettext will have both gettext-native and gettext
 # available, and we don't want to use older macros from the target gettext in
 # a non-gplv3 build, so kill them and let dependent recipes rely on