mirror of
https://git.notmuchmail.org/git/notmuch
synced 2024-11-21 18:38:08 +01:00
build: do not export compat functions from lib
Commits9db2145272
("lib/gen-version-script.h: add getline and getdelim to notmuch.sym if needed") and3242e29e57
("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.
This commit is contained in:
parent
11d47950c1
commit
d5ed9af0e4
2 changed files with 1 additions and 1 deletions
|
@ -212,6 +212,7 @@ dataclean: distclean
|
|||
rm -rf $(DATACLEAN)
|
||||
|
||||
notmuch_client_srcs = \
|
||||
$(notmuch_compat_srcs) \
|
||||
command-line-arguments.c\
|
||||
debugger.c \
|
||||
status.c \
|
||||
|
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue