From a9fa290be88752e0ebc358d1dae656486c0f50dd Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mart=C3=ADn=20Lucas=20Golini?= Date: Tue, 1 Apr 2025 10:51:55 -0300 Subject: [PATCH] Fixed SpartanJ/ecode#424 , SDL2 not being pulled correctly. --- projects/mingw32/ecode/build.app.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/projects/mingw32/ecode/build.app.sh b/projects/mingw32/ecode/build.app.sh index 4c558fe5a..5b1897f26 100755 --- a/projects/mingw32/ecode/build.app.sh +++ b/projects/mingw32/ecode/build.app.sh @@ -41,7 +41,7 @@ fi ../make.sh -e config="$BUILDTYPE"_"$ARCH" -j"$(nproc)" ecode || exit -SDLVER=$(grep "remote_sdl2_version =" ../../../premake5.lua | awk '{print $3}' | tr -d '"') +SDLVER=$(grep "remote_sdl2_version_number =" ../../../premake5.lua | awk '{print $3}' | tr -d '"') rm -rf ./ecode mkdir -p ecode/assets cp ../../../bin/ecode.exe ecode/ @@ -50,7 +50,7 @@ cp ../../../bin/eepp.dll ecode/ if [[ "$ARCH_CONFIG" == "arm64" ]]; then cp "/usr/local/cross-tools/aarch64-w64-mingw32/bin/SDL2.dll" ecode/ else -cp ../../../src/thirdparty/"$SDLVER"/$ARCHI-w64-mingw32/bin/SDL2.dll ecode/ +cp ../../../src/thirdparty/"SDL2-$SDLVER"/$ARCHI-w64-mingw32/bin/SDL2.dll ecode/ fi mkdir -p ecode/assets/colorschemes