aboutsummaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
authorfuzzard <fuzzard@users.noreply.github.com>2023-12-04 17:36:28 +1000
committerGitHub <noreply@github.com>2023-12-04 17:36:28 +1000
commitdabb8fe8f9088de65fa040aacf5a99a795e9e081 (patch)
treea4fe02eff9359d454df9b7ad56b10f356601225f /tools
parentc691b00592303515f2e55c26d2ae12e699e6cf03 (diff)
parent9a491c05edba249cdde73530dc3cd90098f717f1 (diff)
Merge pull request #23977 from joseluismarti/verify-sdk-path
[Android] Change the directory used to verify the SDK path
Diffstat (limited to 'tools')
-rw-r--r--tools/depends/configure.ac2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/depends/configure.ac b/tools/depends/configure.ac
index db74a00534..b09b586dc5 100644
--- a/tools/depends/configure.ac
+++ b/tools/depends/configure.ac
@@ -570,7 +570,7 @@ if test "$platform_os" = "android"; then
AC_MSG_ERROR("SDK path is required for android")
fi
- if [ ! test -f $use_sdk_path/tools/bin/sdkmanager ]; then
+ if [ ! test -f $use_sdk_path/tools/bin/sdkmanager ] && [ ! test -f $use_sdk_path/cmdline-tools/bin/sdkmanager ]; then
AC_MSG_ERROR(verify sdk path)
fi