Don't use // substitution in `ndk_resolve_import_module'

* m4/ndk-build.m4 (ndk_resolve_import_module): Stop testing if
ndk_commands is empty; just eval it.  (bug#65292)
This commit is contained in:
Po Lu 2023-08-15 14:19:56 +08:00
parent a8365aa841
commit 6684d3af3b

View file

@ -152,8 +152,7 @@ ndk_resolve_import_module () {
# tree build system sets it to a meaning value, but build files
# just use it to test whether or not the NDK is being used.
ndk_commands=`ndk_run_test`
AS_IF([test -n "${ndk_commands//\n }"], [eval "$ndk_commands"])
eval "$ndk_commands"
if test -n "$module_name"; then
break;