From 85291a5bc37cb90476a57f7327e7b61af41bcbfc Mon Sep 17 00:00:00 2001 From: Samutz Date: Mon, 17 Apr 2023 21:16:57 -0500 Subject: [PATCH] update SDL2 for more controller support --- getSDL.sh | 12 +++++++----- 1 file changed, 7 insertions(+), 5 deletions(-) diff --git a/getSDL.sh b/getSDL.sh index c58a9f2..a6f8287 100755 --- a/getSDL.sh +++ b/getSDL.sh @@ -1,12 +1,14 @@ #!/bin/bash +SDL2_VERSION="2.26.5" + pushd SDL -wget https://www.libsdl.org/release/SDL2-2.0.12.zip -unzip -q SDL2-2.0.12.zip -mv SDL2-2.0.12/include include +wget https://www.libsdl.org/release/SDL2-${SDL2_VERSION}.zip +unzip -q SDL2-${SDL2_VERSION}.zip +mv SDL2-${SDL2_VERSION}/include include ln -s . include/SDL2 -rm SDL2-2.0.12.zip -rm -r SDL2-2.0.12 +rm SDL2-${SDL2_VERSION}.zip +rm -r SDL2-${SDL2_VERSION} popd