diff mbox series

[meta-mingw] gettext: Resolve locale alias file issue

Message ID 20240228124641.1582401-1-richard.purdie@linuxfoundation.org
State New
Headers show
Series [meta-mingw] gettext: Resolve locale alias file issue | expand

Commit Message

Richard Purdie Feb. 28, 2024, 12:46 p.m. UTC
Adapt to changes in OE-Core locale generation and match alias handling
with the change in glibc packaging. The file is only used for legacy
situations.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
---
 recipes-core/gettext/gettext_%.bbappend | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
diff mbox series

Patch

diff --git a/recipes-core/gettext/gettext_%.bbappend b/recipes-core/gettext/gettext_%.bbappend
index 4e18798..7bb9a4f 100644
--- a/recipes-core/gettext/gettext_%.bbappend
+++ b/recipes-core/gettext/gettext_%.bbappend
@@ -7,6 +7,7 @@  SRC_URI:append:mingw32 = " \
 FILES:libgettextlib:mingw32 = "${bindir}/libgettextlib-*.dll"
 FILES:libgettextsrc:mingw32 = "${bindir}/libgettextsrc-*.dll"
 
-PACKAGES:prepend:mingw32 = "libintl "
+PACKAGES:prepend:mingw32 = "libintl ${LOCALEBASEPN}-locale-alias "
 FILES:libintl:mingw32 = "${bindir}/libintl*.dll"
+FILES:${LOCALEBASEPN}-locale-alias = "${datadir}/locale/locale.alias"