From 23bece86ace64eeb3627f7e1d5f1eae0cdaa83b9 Mon Sep 17 00:00:00 2001 From: "Mike A." Date: Sat, 6 Jul 2024 20:43:10 +0200 Subject: [PATCH] Fix Windows builds that depend on `system-resources-min` --- default/scripts/system-resources-min.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/default/scripts/system-resources-min.sh b/default/scripts/system-resources-min.sh index b973833..ff74648 100644 --- a/default/scripts/system-resources-min.sh +++ b/default/scripts/system-resources-min.sh @@ -22,6 +22,8 @@ if [ ${ARCH_BASE} == 'darwin' ]; then fi if [ ${ARCH_BASE} == 'windows' ]; then + ${CC} -DGUI=0 -O -s -o ${OUTPUT_DIR}${INSTALL_PREFIX}/win-launcher.exe ${PATCHES_DIR}/win-launcher.c + cp ${PATCHES_DIR}/environment.bat ${OUTPUT_DIR}${INSTALL_PREFIX}/. cp ${PATCHES_DIR}/start.bat ${OUTPUT_DIR}${INSTALL_PREFIX}/.