aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorChen Qi <Qi.Chen@windriver.com>2016-07-07 17:25:45 +0800
committerChen Qi <Qi.Chen@windriver.com>2016-07-07 17:42:17 +0800
commit26506f2ad6e3d1229e246cccd9b36a1c1462acd6 (patch)
tree3d70a43c90a909922d798c9789de5ea4ad5f16cc
parent53fcfe4348a2ca727844f2b0bd3fca2902cbdda0 (diff)
downloadopenembedded-core-contrib-ChenQi/gettext-sysroot.tar.gz
gettext_0.16.1: remove useless files to avoid sysroot conflictsChenQi/gettext-sysroot
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>
-rw-r--r--meta/recipes-core/gettext/gettext_0.16.1.bb7
1 files changed, 7 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.16.1.bb b/meta/recipes-core/gettext/gettext_0.16.1.bb
index 6095c83232..f85cce1b10 100644
--- a/meta/recipes-core/gettext/gettext_0.16.1.bb
+++ b/meta/recipes-core/gettext/gettext_0.16.1.bb
@@ -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