From 079175139be190d1415a21f852c1639667a8e7b1 Mon Sep 17 00:00:00 2001 From: Po Lu Date: Sun, 30 Jun 2024 12:11:32 +0800 Subject: [PATCH] * build-aux/ndk-module-extract.awk: Do not generate newlines in output. (cherry picked from commit c8473ee8c1914d15fb19207215f0a06c84d0915c) --- build-aux/ndk-module-extract.awk | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/build-aux/ndk-module-extract.awk b/build-aux/ndk-module-extract.awk index 6ff30973d67..b57bf74001d 100644 --- a/build-aux/ndk-module-extract.awk +++ b/build-aux/ndk-module-extract.awk @@ -55,14 +55,14 @@ /^End$/ { if (name == MODULE && (kind == "shared" || kind == "static")) { - printf "module_name=%s\n", name - printf "module_kind=%s\n", kind - printf "module_src=\"%s\"\n", src - printf "module_includes=\"%s\"\n", includes - printf "module_cflags=\"%s\"\n", cflags - printf "module_ldflags=\"%s\"\n", ldflags - printf "module_target=\"%s\"\n", target - printf "module_cxx_deps=\"%s\"\n", cxx_deps + printf "module_name=%s;", name + printf "module_kind=%s;", kind + printf "module_src=\"%s\";", src + printf "module_includes=\"%s\";", includes + printf "module_cflags=\"%s\";", cflags + printf "module_ldflags=\"%s\";", ldflags + printf "module_target=\"%s\";", target + printf "module_cxx_deps=\"%s\";", cxx_deps } src = "" @@ -83,6 +83,6 @@ imports = "" # Strip off leading whitespace. gsub (/^[ \t]+/, "", makefile_imports) - printf "module_imports=\"%s\"\n", makefile_imports + printf "module_imports=\"%s\";", makefile_imports makefile_imports = "" } -- 2.39.2