summaryrefslogtreecommitdiffstats
path: root/meta/recipes-core/gettext
diff options
context:
space:
mode:
authorAlexander Kanavin <alexander.kanavin@linux.intel.com>2017-06-16 14:37:33 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-06-28 15:51:58 +0100
commit7c0032b81f56fea5bec33aa0e74d6e28873f72a8 (patch)
tree93fc555169be80174aec0ff71cac621c4aa31113 /meta/recipes-core/gettext
parent2468534985c43326513a03aa88521c7f467fc347 (diff)
downloadopenembedded-core-contrib-7c0032b81f56fea5bec33aa0e74d6e28873f72a8.tar.gz
openembedded-core-contrib-7c0032b81f56fea5bec33aa0e74d6e28873f72a8.tar.bz2
openembedded-core-contrib-7c0032b81f56fea5bec33aa0e74d6e28873f72a8.zip
gettext: relocate msgfmt utility for all recipes
Now that epiphany needs a working msgfmt as well, let's do this trick where it should be. Signed-off-by: Alexander Kanavin <alexander.kanavin@linux.intel.com>
Diffstat (limited to 'meta/recipes-core/gettext')
-rw-r--r--meta/recipes-core/gettext/gettext_0.19.8.1.bb4
1 files changed, 4 insertions, 0 deletions
diff --git a/meta/recipes-core/gettext/gettext_0.19.8.1.bb b/meta/recipes-core/gettext/gettext_0.19.8.1.bb
index 97e7986dc1..c2059e608b 100644
--- a/meta/recipes-core/gettext/gettext_0.19.8.1.bb
+++ b/meta/recipes-core/gettext/gettext_0.19.8.1.bb
@@ -111,6 +111,10 @@ do_install_append_class-native () {
rm ${D}${datadir}/gettext/config.rpath
rm ${D}${datadir}/gettext/po/Makefile.in.in
rm ${D}${datadir}/gettext/po/remove-potcdate.sin
+
+ create_wrapper ${D}${bindir}/msgfmt \
+ GETTEXTDATADIR="${STAGING_DATADIR_NATIVE}/gettext-0.19.8/"
+
}
BBCLASSEXTEND = "native nativesdk"