summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2023-03-04 11:47:32 +0800
committerPo Lu <luangruo@yahoo.com>2023-03-04 11:47:32 +0800
commit798003b04f6e2ce358c2d801684b0bfbf54eaeaa (patch)
tree1fbaeb337801380f888d1f6e3f484552dfaa3d4c /m4
parent138d500b60287b03e7039198eb0e61f1036db3cc (diff)
downloademacs-798003b04f6e2ce358c2d801684b0bfbf54eaeaa.tar.gz
; * m4/ndk-build.m4 (ndk_INIT): Fix typo.
Diffstat (limited to 'm4')
-rw-r--r--m4/ndk-build.m44
1 files changed, 2 insertions, 2 deletions
diff --git a/m4/ndk-build.m4 b/m4/ndk-build.m4
index 0ade91da230..d5f16248dcd 100644
--- a/m4/ndk-build.m4
+++ b/m4/ndk-build.m4
@@ -212,7 +212,8 @@ ndk_subst_cc_onto_cxx () {
ndk_flag=
for ndk_word in `AS_ECHO_N(["$CC"]) | cut -s -f2- -d' '`; do
AS_IF([test "$ndk_flag" = "yes"],
- [AS_ECHO_N(["$ndk_word "])],
+ [AS_ECHO_N(["$ndk_word "])
+ ndk_flag=no],
[AS_CASE([$ndk_word],
[*-sysroot=*],
[AS_ECHO_N(["$ndk_word "])],
@@ -224,7 +225,6 @@ ndk_subst_cc_onto_cxx () {
ndk_flag=yes],
[-D__ANDROID_API__*],
[AS_ECHO_N(["$ndk_word "])])])
- ndk_flag=no
done
}