diff options
author | Marcus Comstedt | 2014-06-18 21:40:13 +0200 |
---|---|---|
committer | Marcus Comstedt | 2014-06-18 21:40:13 +0200 |
commit | 0e459796346ca98684a115302f448a6317799372 (patch) | |
tree | 59fb86d1e9ea596cff27b1709f8b577f9950df0f /configure | |
parent | e395343064936cc04f777bb12391c34bdecbd992 (diff) | |
download | scummvm-rg350-0e459796346ca98684a115302f448a6317799372.tar.gz scummvm-rg350-0e459796346ca98684a115302f448a6317799372.tar.bz2 scummvm-rg350-0e459796346ca98684a115302f448a6317799372.zip |
ANDROID: Allow build with non-ancient SDK
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -2157,6 +2157,12 @@ case $_host_os in LDFLAGS="$LDFLAGS -L$ANDROID_NDK/sources/cxx-stl/gnu-libstdc++/`$CXX -dumpversion`/libs/$ABI/" LIBS="$LIBS -lsupc++" add_line_to_config_mk "ANDROID_SDK = $ANDROID_SDK" + if test -d "$ANDROID_SDK"/build-tools; then + _build_tools_version=`cd "$ANDROID_SDK"/build-tools && ls -1 | sort -rn | head -1` + add_line_to_config_mk "ANDROID_BTOOLS = build-tools/$_build_tools_version" + else + add_line_to_config_mk "ANDROID_BTOOLS = platform-tools" + fi _seq_midi=no ;; beos*) |