Skip to contentSkip to conversation

gettext: Resolve locale alias file issue

PATCH New Richard Purdie 1 participant 1 message Feb 28, 2024

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 gettext: Resolve locale alias file issue

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.

---
 recipes-core/gettext/gettext_%.bbappend | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)
recipes-core/gettext/gettext_%.bbappend +2 -1
index 4e18798..7bb9a4f 100644
@@ -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"
 
Signature · 1 line
2.40.1