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:
parent
f1517d0bc8
commit
45b9323123
|
@ -31,7 +31,7 @@ git -C fdk-aac pull
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ ! -d SDL ]; then
|
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
|
else
|
||||||
git -C SDL pull
|
git -C SDL pull
|
||||||
fi
|
fi
|
||||||
|
|
Loading…
Reference in New Issue