From d942aece9ed6a59cdc415db873cca5506865d9fc Mon Sep 17 00:00:00 2001 From: Susko3 Date: Fri, 19 Sep 2025 16:32:52 +0200 Subject: [PATCH] Add explanatory comment about the android API 24 change to SDL_mixer --- External/build.sh | 1 + 1 file changed, 1 insertion(+) diff --git a/External/build.sh b/External/build.sh index 5900c44..0e41c51 100755 --- a/External/build.sh +++ b/External/build.sh @@ -154,6 +154,7 @@ run_cmake() { sed -i 's/#include /#_include /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