Add explanatory comment about the android API 24 change to SDL_mixer

This commit is contained in:
Susko3 2025-09-19 16:32:52 +02:00
parent 240d008900
commit d942aece9e
1 changed files with 1 additions and 0 deletions

1
External/build.sh vendored
View File

@ -154,6 +154,7 @@ run_cmake() {
sed -i 's/#include <gameinput.h>/#_include <gameinput.h>/g' CMakeLists.txt
fi
# Change the minumum Android API level for SDL_mixer to API 24 as opusfile and libflac fail to build on lower versions.
if [[ $BUILD_PLATFORM == 'Android' && $LIB_NAME == 'SDL_mixer' ]]; then
export FLAGS="${FLAGS/-DANDROID_PLATFORM=21/-DANDROID_PLATFORM=24}"
fi