summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorNathan Rossi <nathan@nathanrossi.com>2017-03-09 23:59:31 +1000
committerJuro Bystricky <juro.bystricky@intel.com>2017-04-06 13:47:39 -0700
commit60496e2c4226904b612eadf18a3cd5d20290ca93 (patch)
tree1d7a38a2224f73bdacc03f52acd4fcdecce60b98
parent6bda685e411317a8737547b6c0354dd48709bced (diff)
gettext_0.19.%.bbappend: Handle packaging .dll's for mingw32
Package the libgettext*.dll files in their respective packages. Additionally package libintl*.dll in a separate libintl package, this avoids the need to ship libintl*.dll in gettext-runtime which pulls in a number of files and binaries which are not required for libintl on its own. Whilst the package is added to PACKAGES unconditionally, it remains empty for targets where libintl is not provided/built by gettext. Signed-off-by: Nathan Rossi <nathan@nathanrossi.com>
-rw-r--r--recipes-core/gettext/gettext_0.19.%.bbappend6
1 files changed, 6 insertions, 0 deletions
diff --git a/recipes-core/gettext/gettext_0.19.%.bbappend b/recipes-core/gettext/gettext_0.19.%.bbappend
index 1cf0188..9835d7b 100644
--- a/recipes-core/gettext/gettext_0.19.%.bbappend
+++ b/recipes-core/gettext/gettext_0.19.%.bbappend
@@ -9,3 +9,9 @@ SRC_URI_append = " \
file://fix-gl_cv_prog_as_underscore-test.patch \
"
+FILES_libgettextlib_mingw32 = "${bindir}/libgettextlib-*.dll"
+FILES_libgettextsrc_mingw32 = "${bindir}/libgettextsrc-*.dll"
+
+PACKAGES =+ "libintl"
+FILES_libintl_mingw32 = "${bindir}/libintl*.dll"
+