diff --git a/libretro-config.sh b/libretro-config.sh index 30e703be..d4f409e2 100755 --- a/libretro-config.sh +++ b/libretro-config.sh @@ -53,19 +53,6 @@ esac export FORMAT_COMPILER_TARGET_ALT="$FORMAT_COMPILER_TARGET" -#USER DEFINES -#------------ -#These options should be defined inside your own -#local libretro-config-user.sh file rather than here. -#The following below is just a sample. - -if [ -f "libretro-config-user.sh" ]; then -. ./libretro-config-user.sh -else -# Sane defaults -export BUILD_LIBRETRO_GL=1 -fi - #if uncommented, will fetch repos with read+write access. Useful for committers #export WRITERIGHTS=1 @@ -120,3 +107,22 @@ export NDK_GL_HEADER_VER=android-18 # android version target if GLES is not in use export NDK_NO_GL_HEADER_VER=android-9 + +# Retroarch target android API level +export RA_ANDROID_API=android-18 + +# Retroarch minimum API level (defines low end android version compatability) +export RA_ANDROID_MIN_API=android-9 + +#USER DEFINES +#------------ +#These options should be defined inside your own +#local libretro-config-user.sh file rather than here. +#The following below is just a sample. + +if [ -f "libretro-config-user.sh" ]; then +. ./libretro-config-user.sh +else +# Sane defaults +export BUILD_LIBRETRO_GL=1 +fi