summaryrefslogtreecommitdiff
path: root/build/make/configure.sh
diff options
context:
space:
mode:
authorJohann Koenig <johannkoenig@google.com>2016-06-23 19:04:51 +0000
committerGerrit Code Review <noreply-gerritcodereview@google.com>2016-06-23 19:04:52 +0000
commit9eeb1f2fc3fba7da744590502bf284459d628bcc (patch)
treea2dd960b4084d1cafb9c0933e94dde0a3931525d /build/make/configure.sh
parent424982bc41d84fadcd9e2054ecf47d45593f484f (diff)
parent310073868e6b8fbbe70f96abd04a232594e7970b (diff)
downloadlibvpx-9eeb1f2fc3fba7da744590502bf284459d628bcc.tar
libvpx-9eeb1f2fc3fba7da744590502bf284459d628bcc.tar.gz
libvpx-9eeb1f2fc3fba7da744590502bf284459d628bcc.tar.bz2
libvpx-9eeb1f2fc3fba7da744590502bf284459d628bcc.zip
Merge "Fail early when android target does not include --sdk-path"
Diffstat (limited to 'build/make/configure.sh')
-rw-r--r--build/make/configure.sh4
1 files changed, 4 insertions, 0 deletions
diff --git a/build/make/configure.sh b/build/make/configure.sh
index 29aa3cc19..f8383da27 100644
--- a/build/make/configure.sh
+++ b/build/make/configure.sh
@@ -1015,6 +1015,10 @@ EOF
;;
android*)
+ if [ -z "${sdk_path}" ]; then
+ die "Must specify --sdk-path for Android builds."
+ fi
+
SDK_PATH=${sdk_path}
COMPILER_LOCATION=`find "${SDK_PATH}" \
-name "arm-linux-androideabi-gcc*" -print -quit`