Switch from SDL3 to SDL2 on Linux script

After SDL3 is installed, FFmpeg may not configure correctly when saying sdl2 not found. Switched to SDL2 makes FFmpeg configure success when SDL2 is found.
This commit is contained in:
MartinEesmaa 2023-09-14 14:40:12 +10:00
parent f1517d0bc8
commit 45b9323123
No known key found for this signature in database
GPG Key ID: FD65711850BEEE70
1 changed files with 1 additions and 1 deletions

View File

@ -31,7 +31,7 @@ git -C fdk-aac pull
fi
if [ ! -d SDL ]; then
git clone --depth=1 https://github.com/libsdl-org/SDL
git clone --depth=1 https://github.com/libsdl-org/SDL -b SDL2
else
git -C SDL pull
fi