[PATCH] xutil.c: remove duplicate copies, create new library libutil.a to contain xutil.

David Bremner david at tethera.net
Mon Oct 31 03:51:14 PDT 2011


On Mon, 31 Oct 2011 09:20:13 +0000, Jani Nikula <jani at nikula.org> wrote:
> 
> Hi David, this patch (commit 1dedfc90f6eee7cad10f1a1ceb39a7a1c4dbd1b1)
> broke my build with:
> 
> CXX -O2 lib/libnotmuch.so.2.0.0

Can you try "make V=1"? The output should look like

g++ lib/filenames.o lib/string-list.o lib/libsha1.o lib/message-file.o lib/messages.o lib/sha1.o lib/tags.o lib/database.o lib/directory.o lib/index.o lib/message.o lib/query.o lib/thread.o  -Wl,--as-needed -pthread -lgmime-2.4 -lgobject-2.0 -lgthread-2.0 -lrt -lglib-2.0   -ltalloc   -lxapian -shared -Wl,--version-script=notmuch.sym,-soname=libnotmuch.so.2 -o lib/libnotmuch.so.2.0.0 -L./util -lutil

The last part, "-L./util -lutil" is where all those symbols are.

d


More information about the notmuch mailing list