File tree Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Expand file tree Collapse file tree 1 file changed +20
-1
lines changed Original file line number Diff line number Diff line change @@ -243,6 +243,23 @@ cmake_build() {
243243 cmake --install build --strip
244244}
245245
246+ log_build () {
247+ case " ${pkg} " in
248+ ' install' )
249+ log STATUS " Installing for ${PLATFORM} "
250+ ;;
251+ ' package' )
252+ log STATUS " Packaging for ${PLATFORM} "
253+ ;;
254+ ' genlib' |' depcheck' )
255+ log STATUS " Running ${pkg} for ${PLATFORM} "
256+ ;;
257+ * )
258+ log STATUS " Building ${pkg} for ${PLATFORM} "
259+ ;;
260+ esac
261+ }
262+
246263# Build pkg-config, needed for opusfile and SDL3.
247264# As a host-mode dependency it must be provided by the system when cross-compiling.
248265build_pkgconfig () {
@@ -1110,7 +1127,7 @@ build_depcheck() {
11101127 for dll in $( find " ${PREFIX} /bin" -type f -name ' *.dll' ) ; do
11111128 # https://wiki.unvanquished.net/wiki/MinGW#Built-in_DLL_dependencies
11121129 if objdump -p " ${dll} " | grep -oP ' (?<=DLL Name: )(libgcc_s|libstdc|libssp|libwinpthread).*' ; then
1113- echo " ${dll} depends on above DLLs"
1130+ log WARNING " ${dll} depends on above DLLs"
11141131 good=false
11151132 fi
11161133 done
@@ -1169,6 +1186,7 @@ list_build() {
11691186 eval " package_list=(\$ {${list_name} _${PLATFORM// -/ _} _packages})"
11701187 for pkg in " ${package_list[@]} " ; do
11711188 cd " ${WORK_DIR} "
1189+ log_build " ${pkg} "
11721190 " build_${pkg} "
11731191 done
11741192}
@@ -1602,6 +1620,7 @@ do (
16021620 # Build packages
16031621 for pkg in " ${@ } " ; do
16041622 cd " ${WORK_DIR} "
1623+ log_build " ${pkg} "
16051624 " build_${pkg} "
16061625 done
16071626) done
You can’t perform that action at this time.
0 commit comments