mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-07-16 16:27:27 +00:00
mozjs-78: Check for big-endian icu data file existence before creating it
Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -106,7 +106,7 @@ do_configure() {
|
|||||||
# inspired by what fedora [1] does: for big endian rebuild icu dat
|
# inspired by what fedora [1] does: for big endian rebuild icu dat
|
||||||
# this avoids gjs qemu crash on mips at gir creation
|
# this avoids gjs qemu crash on mips at gir creation
|
||||||
# [1] https://src.fedoraproject.org/rpms/mozjs78/blob/rawhide/f/mozjs78.spec
|
# [1] https://src.fedoraproject.org/rpms/mozjs78/blob/rawhide/f/mozjs78.spec
|
||||||
if [ ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} = "big" ]; then
|
if [ ${@oe.utils.conditional('SITEINFO_ENDIANNESS', 'le', 'little', 'big', d)} = "big" -a ! -e ${S}/config/external/icu/data/icudt67b.dat ]; then
|
||||||
echo "Do big endian icu dat-convert..."
|
echo "Do big endian icu dat-convert..."
|
||||||
icupkg -tb ${S}/config/external/icu/data/icudt67l.dat ${S}/config/external/icu/data/icudt67b.dat
|
icupkg -tb ${S}/config/external/icu/data/icudt67l.dat ${S}/config/external/icu/data/icudt67b.dat
|
||||||
rm -f ${S}/config/external/icu/data/icudt*l.dat
|
rm -f ${S}/config/external/icu/data/icudt*l.dat
|
||||||
|
|||||||
Reference in New Issue
Block a user