File tree Expand file tree Collapse file tree 1 file changed +21
-1
lines changed
Expand file tree Collapse file tree 1 file changed +21
-1
lines changed Original file line number Diff line number Diff line change 9191
9292 compile_lib() {
9393 local lib_name=$1
94-
94+
95+ if [[ "$lib_name" == "fontconfig" ]]; then
96+ if [[ "$Platform" == "all" ]]; then
97+ echo "force Platform to android for fontconfig"
98+ Platform='android'
99+ elif [[ "$Platform" != "android" ]]; then
100+ echo "Skip fontconfig for $Platform"
101+ return
102+ fi
103+ fi
104+
105+ if [[ "$lib_name" == "webp" ]]; then
106+ if [[ "$Platform" == "android" ]]; then
107+ echo "Skip webp for android"
108+ return
109+ elif [[ "$Platform" == "all" ]]; then
110+ echo "Skip webp for android"
111+ Platform='apple'
112+ fi
113+ fi
114+
95115 echo "------compile $Platform $lib_name------------------------------------"
96116 rm -rf build || git reset --hard || git pull origin
97117 .github/workflows/install-dependencies.sh $lib_name $Platform # 补全依赖安装步骤
You can’t perform that action at this time.
0 commit comments