diff --git a/projects/linux/scripts/install_sdl2.sh b/projects/linux/scripts/install_sdl2.sh index 43e999803..dfc851e17 100644 --- a/projects/linux/scripts/install_sdl2.sh +++ b/projects/linux/scripts/install_sdl2.sh @@ -30,8 +30,7 @@ install_dependencies() { libxss-dev \ libxt-dev \ libxv-dev \ - libxxf86vm-dev \ - libdecor-0-dev || exit + libxxf86vm-dev || exit } # Function to install cross-compile dependencies for aarch64 diff --git a/projects/mingw32/build_sdl2.sh b/projects/mingw32/build_sdl2.sh index cf0e66258..69fe64901 100644 --- a/projects/mingw32/build_sdl2.sh +++ b/projects/mingw32/build_sdl2.sh @@ -29,12 +29,12 @@ echo "Building SDL2 for arch $(uname -m)" HOST= fi -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 '"') echo "SDL2 version $SDLVER" echo "$PATH" -cd "../../src/thirdparty/$SDLVER/" || exit 1 +cd "../../src/thirdparty/SDL2-$SDLVER/" || exit 1 echo "SDL2 running autogen" ./autogen.sh || exit 1