aboutsummaryrefslogtreecommitdiff
path: root/lib/gen-version-script.sh
diff options
context:
space:
mode:
authorJani Nikula <jani@nikula.org>2017-05-10 22:42:09 +0300
committerDavid Bremner <david@tethera.net>2017-05-11 20:41:10 -0300
commitd5ed9af0e42c0f32bcababd6ac5ce42ccb1bf283 (patch)
treeea0ee9232051a1f367fa8654c5606440c72a2263 /lib/gen-version-script.sh
parent11d47950c18f2d19718e35b7264dabf2ff2fd621 (diff)
build: do not export compat functions from lib
Commits 9db214527213 ("lib/gen-version-script.h: add getline and getdelim to notmuch.sym if needed") and 3242e29e57ac ("build: add canonicalize_file_name to symbols exported from libnotmuch.so") started exporting compat functions from libnotmuch so that the cli could use them. But we shouldn't export such functions from the library. They are not part of our ABI. Instead, the cli should include its own copies of the compat functions.
Diffstat (limited to 'lib/gen-version-script.sh')
-rw-r--r--lib/gen-version-script.sh1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/gen-version-script.sh b/lib/gen-version-script.sh
index 5621f2a9..c98a07b0 100644
--- a/lib/gen-version-script.sh
+++ b/lib/gen-version-script.sh
@@ -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"