summaryrefslogtreecommitdiff
path: root/build/make_nw_export.awk
diff options
context:
space:
mode:
Diffstat (limited to 'build/make_nw_export.awk')
-rw-r--r--build/make_nw_export.awk3
1 files changed, 1 insertions, 2 deletions
diff --git a/build/make_nw_export.awk b/build/make_nw_export.awk
index 6b21a84591..c89d2de25c 100644
--- a/build/make_nw_export.awk
+++ b/build/make_nw_export.awk
@@ -98,13 +98,12 @@ function add_symbol(sym_name) {
add_symbol($NF)
}
-/^[ \t]*PROXY_DECLARE_DATA (extern[ \t]+)?.*;/ {
+/^[ \t]*(extern[ \t]+(module[ \t]+)?)?PROXY_DECLARE_DATA .*;/ {
gsub(/[*;\n\r]/, "")
gsub(/\[.*\]/, "")
add_symbol($NF)
}
-
END {
printf("Added %d symbols to export list.\n", idx) > "/dev/stderr"
# sort symbols with shell sort