diff options
author | David Bremner <david@tethera.net> | 2014-04-09 08:24:02 -0300 |
---|---|---|
committer | David Bremner <david@tethera.net> | 2014-04-19 05:58:34 +0900 |
commit | 3242e29e57acf1715f4f7bfd7c384d4a699c68f3 (patch) | |
tree | 125e166bc884b5ae2319998b3a4a1d7f7f47739d | |
parent | 59c6103e1c169c3b65e8d63dc2211c6ad0e24841 (diff) |
build: add canonicalize_file_name to symbols exported from libnotmuch.so
This is needed for our compat version of canonicalize_file_name to be used.
-rw-r--r-- | lib/gen-version-script.sh | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/gen-version-script.sh b/lib/gen-version-script.sh index 76670d57..64a73749 100644 --- a/lib/gen-version-script.sh +++ b/lib/gen-version-script.sh @@ -23,6 +23,6 @@ while read sym; do ;; esac done -nm $* | awk '$1 ~ "^[0-9a-fA-F][0-9a-fA-F]*$" && $2 == "T" && $3 ~ "^get(line|delim)$" {print $3 ";"}' +nm $* | awk '$1 ~ "^[0-9a-fA-F][0-9a-fA-F]*$" && $2 == "T" && $3 ~ "^(getline|getdelim|canonicalize_file_name)$" {print $3 ";"}' sed -n 's/^[[:space:]]*\(notmuch_[a-z_]*\)[[:space:]]*(.*/ \1;/p' $HEADER printf "local: *;\n};\n" |