From 6656f74659c36f82b31e337f6aaabdf5e370578f Mon Sep 17 00:00:00 2001 From: Raimon Zamora Date: Wed, 25 Mar 2026 09:29:18 +0100 Subject: [PATCH] =?UTF-8?q?-=20[NEW]=20Modificada=20linea=20de=20compilaci?= =?UTF-8?q?=C3=B3=20per=20a=20compilar=20est=C3=A0ticament=20les=20llibrer?= =?UTF-8?q?ies=20(excepte=20SDL3.dll=20i=20libwinpthread-1.dll)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Makefile | 2 +- do_release.bat | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Makefile b/Makefile index e8326bb..8a5a33b 100644 --- a/Makefile +++ b/Makefile @@ -3,7 +3,7 @@ source = source/*.cpp windows: @echo off - g++ $(source) bin/icon.res -lmingw32 -lSDL3 -mwindows -o "$(executable).exe" + g++ $(source) bin/icon.res -lmingw32 -lSDL3 -mwindows -ffunction-sections -fdata-sections -static-libstdc++ -static-libgcc -lpthread -o "$(executable).exe" strip -s -R .comment -R .gnu.version --strip-unneeded "$(executable).exe" windows_debug: diff --git a/do_release.bat b/do_release.bat index d4ddb6b..692de7f 100644 --- a/do_release.bat +++ b/do_release.bat @@ -17,7 +17,7 @@ respak2 -p || exit /b 1 echo Creando paquetes... REM Crear ZIP release con exe + data.jf2 -tar -a -c -f mini_%PARAM%_windows_release.zip thepool.exe data.jf2 bin\SDL3.dll || exit /b 1 +tar -a -c -f mini_%PARAM%_windows_release.zip thepool.exe data.jf2 bin\*.dll || exit /b 1 echo Paquetes generados: echo thepool_%PARAM%_win32-x64.zip