mirror of
				https://github.com/RetroDECK/ES-DE.git
				synced 2025-04-10 19:15:13 +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 | ||||
| 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 | ||||
| ./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 -j${JOBS} | ||||
| cd lib | ||||
|  |  | |||
|  | @ -56,6 +56,7 @@ git clone -n --filter=tree:0 https://github.com/unicode-org/icu.git | |||
| cd icu | ||||
| git sparse-checkout set --no-cone icu4c | ||||
| git checkout release-75-1 | ||||
| cp ../../es-app/assets/icu_filters.json icu4c/source/ | ||||
| cd .. | ||||
| 
 | ||||
| echo | ||||
|  |  | |||
		Loading…
	
		Reference in a new issue
	
	 Leon Styhre
						Leon Styhre