]> git.ipfire.org Git - thirdparty/openembedded/openembedded-core-contrib.git/commit
icu: Adjust ICU_DATA_DIR path on big endian targets
authorMakarios Christakis <makchrbiz@gmail.com>
Sun, 16 Mar 2025 19:13:43 +0000 (21:13 +0200)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Mon, 17 Mar 2025 17:09:19 +0000 (17:09 +0000)
commit28cdc0110def011e3d690da1d591076385267ef7
tree17c17a7580563f1d8b4dd7b165461ed3b8487873
parente3419fbaf2999a821e1890a12ab27285cc25b577
icu: Adjust ICU_DATA_DIR path on big endian targets

On big-endian systems the preprocessor define ICU_DATA_DIR
is currently being set to a path ending with the ${PV} of
the recipe.

The PV version string has changed to a '-' separator
since oe-core commit cebe8439cdc656d53355506a31a3782312bf03c5
whereas the build system installs the data files into a
path ending with the dot-separated version of ICU.

This causes the ICU data file to not be detected at runtime,
consequently breaking any dependant applications.

We therefore substitute ${PV} with the dot-separated version
string of ICU, as returned from the icu_install_folder function,
on the ICU_DATA_DIR define on big-endian targets.

Signed-off-by: Makarios Christakis <makchrbiz@gmail.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/recipes-support/icu/icu_76-1.bb