summaryrefslogtreecommitdiff
path: root/configure-android
diff options
context:
space:
mode:
Diffstat (limited to 'configure-android')
-rwxr-xr-xconfigure-android2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure-android b/configure-android
index ca5d9f08..5ddfb333 100755
--- a/configure-android
+++ b/configure-android
@@ -95,7 +95,7 @@ if test "$1" = "--use-ndk-cflags"; then
else
ANDROID_TC_VER=`ls -d ${ANDROID_NDK_ROOT}/toolchains/${TC_DIR}-* | sed 's/clang/0/' | sort -gr | head -1`
- ANDROID_TC=`ls -d ${ANDROID_TC_VER}/prebuilt/*`
+ ANDROID_TC=`ls -d ${ANDROID_TC_VER}/prebuilt/* | grep -v gdbserver | head -1`
if test ! -d ${ANDROID_TC}; then
echo "$F error: unable to find directory ${ANDROID_TC} in Android NDK"
exit 1