summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPo Lu <luangruo@yahoo.com>2023-03-03 21:58:48 +0800
committerPo Lu <luangruo@yahoo.com>2023-03-03 21:58:48 +0800
commitedfa0f8fa0d2e0ed55f749fa93412488f14e39b9 (patch)
tree2acc12433311ae3235ca6c3214a41267e5175f12 /m4
parentece6d61301268df1ab486d77eacd09ea474a81a4 (diff)
downloademacs-edfa0f8fa0d2e0ed55f749fa93412488f14e39b9.tar.gz
Minor fixes to configury
* configure.ac (ANDROID_SDK_8_OR_EARLIER): Pass through `--with-ndk-cxx-shared'. * m4/ndk-build.m4: Fix quoting of $CC.
Diffstat (limited to 'm4')
-rw-r--r--m4/ndk-build.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/m4/ndk-build.m4 b/m4/ndk-build.m4
index 8fe84cee40e..d635b8d1a6b 100644
--- a/m4/ndk-build.m4
+++ b/m4/ndk-build.m4
@@ -182,7 +182,7 @@ that could not be found in the list of directories specified in \
}
# Look for a suitable ar in the same directory as the C compiler.
-ndk_cc_firstword=`AS_ECHO([$CC]) | cut -d' ' -f1`
+ndk_cc_firstword=`AS_ECHO(["$CC"]) | cut -d' ' -f1`
ndk_where_cc=`which $ndk_cc_firstword`
ndk_ar_search_path=$PATH