libnotmuch: export Xapian typeinfo symbols
authorDavid Bremner <bremner@debian.org>
Sat, 16 Jul 2011 18:59:44 +0000 (15:59 -0300)
committerDavid Bremner <bremner@debian.org>
Sun, 17 Jul 2011 01:16:46 +0000 (22:16 -0300)
commitfeb22fef2e3f6f1cf1722f00945c580e506df0df
treeefe0edb202123401e4083070d66a794e0128c5d5
parent8b310a157c06c826c0ee7f677fbbf9f19e78537b
libnotmuch: export Xapian typeinfo symbols

The lack of such exporting seems to cause problems catching
exceptions, as suggested by

    http://gcc.gnu.org/wiki/Visibility

This manifested in the symbol-hiding test failing when notmuch was
compile with gcc 4.4.5. On i386, this further manifested as notmuch
new failing to run (crashing with an uncaught exception on first run).
lib/Makefile.local
lib/gen-version-script.sh [new file with mode: 0644]