1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-05 22:20:24 -08:00

* build-aux/ndk-module-extract.awk: Do not generate newlines in output.

This commit is contained in:
Po Lu 2024-06-30 12:11:32 +08:00
parent cab91300d0
commit c8473ee8c1

View file

@ -55,14 +55,14 @@
/^End$/ { /^End$/ {
if (name == MODULE && (kind == "shared" || kind == "static")) if (name == MODULE && (kind == "shared" || kind == "static"))
{ {
printf "module_name=%s\n", name printf "module_name=%s;", name
printf "module_kind=%s\n", kind printf "module_kind=%s;", kind
printf "module_src=\"%s\"\n", src printf "module_src=\"%s\";", src
printf "module_includes=\"%s\"\n", includes printf "module_includes=\"%s\";", includes
printf "module_cflags=\"%s\"\n", cflags printf "module_cflags=\"%s\";", cflags
printf "module_ldflags=\"%s\"\n", ldflags printf "module_ldflags=\"%s\";", ldflags
printf "module_target=\"%s\"\n", target printf "module_target=\"%s\";", target
printf "module_cxx_deps=\"%s\"\n", cxx_deps printf "module_cxx_deps=\"%s\";", cxx_deps
} }
src = "" src = ""
@ -83,6 +83,6 @@
imports = "" imports = ""
# Strip off leading whitespace. # Strip off leading whitespace.
gsub (/^[ \t]+/, "", makefile_imports) gsub (/^[ \t]+/, "", makefile_imports)
printf "module_imports=\"%s\"\n", makefile_imports printf "module_imports=\"%s\";", makefile_imports
makefile_imports = "" makefile_imports = ""
} }