mirror of
https://github.com/RetroDECK/ES-DE.git
synced 2025-02-06 15:25:39 +00:00
(macOS) Reduced the ICU library size via a data filter file
This commit is contained in:
parent
7bcbc16bf2
commit
1b70d815dd
|
@ -78,8 +78,13 @@ if [ ! -d icu/icu4c ]; then
|
||||||
exit
|
exit
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if [ ! -f icu/icu4c/source/icu_filters.json ]; then
|
||||||
|
echo "icu/icu4c/source/icu_filters.json is missing, aborting."
|
||||||
|
exit
|
||||||
|
fi
|
||||||
|
|
||||||
cd icu/icu4c/source
|
cd icu/icu4c/source
|
||||||
./configure --disable-extras --disable-icuio --disable-samples --disable-tests
|
ICU_DATA_FILTER_FILE=icu_filters.json CXXFLAGS="-DUCONFIG_NO_COLLATION -DUCONFIG_NO_TRANSLITERATION" ./configure --disable-extras --disable-icuio --disable-samples --disable-tests
|
||||||
make clean
|
make clean
|
||||||
make -j${JOBS}
|
make -j${JOBS}
|
||||||
cd lib
|
cd lib
|
||||||
|
|
|
@ -56,6 +56,7 @@ git clone -n --filter=tree:0 https://github.com/unicode-org/icu.git
|
||||||
cd icu
|
cd icu
|
||||||
git sparse-checkout set --no-cone icu4c
|
git sparse-checkout set --no-cone icu4c
|
||||||
git checkout release-75-1
|
git checkout release-75-1
|
||||||
|
cp ../../es-app/assets/icu_filters.json icu4c/source/
|
||||||
cd ..
|
cd ..
|
||||||
|
|
||||||
echo
|
echo
|
||||||
|
|
Loading…
Reference in a new issue