]> git.notmuchmail.org Git - notmuch/commit
libnotmuch: add linker script to declare only notmuch_* symbols as global.
authorDavid Bremner <bremner@debian.org>
Wed, 22 Jun 2011 00:25:06 +0000 (21:25 -0300)
committerDavid Bremner <bremner@debian.org>
Thu, 23 Jun 2011 10:04:56 +0000 (07:04 -0300)
commitcdf1c70ab359772c1e89678e23614489596ba9eb
tree369e232328c12b3858f05532ba35be774ee995ad
parentde35a0e7f9efc9381652af4e381c1ac4c8a15c94
libnotmuch: add linker script to declare only notmuch_* symbols as global.

This is closely tied to gcc and particularly gnu ld, but I guess the
shared library linking code would need to be adjusted to work on a
non-gnu linker anyay.

I had to make a few not-obviously related changes to the
lib/Makefile.local to make this work: libnotmuch_modules is defined
with := and used in place of $^
(cherry picked from commit 014bf85b1c06ff49be2bde5a26433d2cf376cf70)
lib/Makefile.local