build: add canonicalize_file_name to symbols exported from libnotmuch.so
authorDavid Bremner <david@tethera.net>
Wed, 9 Apr 2014 11:24:02 +0000 (08:24 -0300)
committerDavid Bremner <david@tethera.net>
Fri, 18 Apr 2014 20:58:34 +0000 (05:58 +0900)
This is needed for our compat version of canonicalize_file_name to be used.

lib/gen-version-script.sh

index 76670d57497a73d33961180d7c8fefb82ec60e59..64a737494e1cae2c3f3da8b7fc29902236e54372 100644 (file)
@@ -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"