X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=blobdiff_plain;f=lib%2Fgen-version-script.sh;h=c98a07b0c701e70f4963c17c63c42a19de2e6cf0;hp=0f908093dc5e6de1da8b281f191e4b6dc34b675e;hb=d5ed9af0e42c0f32bcababd6ac5ce42ccb1bf283;hpb=cf09631a45d276826255d197c1d5c913a29c79f4 diff --git a/lib/gen-version-script.sh b/lib/gen-version-script.sh index 0f908093..c98a07b0 100644 --- a/lib/gen-version-script.sh +++ b/lib/gen-version-script.sh @@ -2,7 +2,7 @@ set -eu # we go through a bit of work to get the unmangled names of the # typeinfo symbols because of -# http://sourceware.org/bugzilla/show_bug.cgi?id=10326 +# https://sourceware.org/bugzilla/show_bug.cgi?id=10326 if [ $# -lt 2 ]; then echo Usage: $0 header obj1 obj2 obj3 @@ -24,6 +24,5 @@ while read sym; do ;; esac done -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"