]> git.notmuchmail.org Git - notmuch/blob - test/corpus/bar/baz/cur/25:2,
test: rearrange the test corpus into subfolders, fix tests
[notmuch] / test / corpus / bar / baz / cur / 25:2,
1 From: "Stewart Smith" <stewart@flamingspork.com>
2 To: notmuch@notmuchmail.org
3 Date: Wed, 18 Nov 2009 12:05:53 +1100
4 Subject: [notmuch] [PATCH] Fix linking with gcc to use g++ to link in C++
5         libs.
6 Message-ID: <1258506353-20352-1-git-send-email-stewart@flamingspork.com>
7
8 Previously, Ubuntu 9.10, gcc 4.4.1 was getting:
9
10 ccache gcc `pkg-config --libs glib-2.0 gmime-2.4 talloc` `xapian-config --libs` notmuch.o notmuch-config.o notmuch-dump.o notmuch-new.o notmuch-reply.o notmuch-restore.o notmuch-search.o notmuch-setup.o notmuch-show.o notmuch-tag.o notmuch-time.o gmime-filter-reply.o query-string.o show-message.o lib/notmuch.a -o notmuch
11 /usr/bin/ld: lib/notmuch.a(database.o): in function global constructors keyed to BOOLEAN_PREFIX_INTERNAL:database.cc(.text+0x3a): error: undefined reference to 'std::ios_base::Init::Init()'
12 ---
13  Makefile.local |    2 +-
14  1 files changed, 1 insertions(+), 1 deletions(-)
15
16 diff --git a/Makefile.local b/Makefile.local
17 index f824bed..dbd3e20 100644
18 --- a/Makefile.local
19 +++ b/Makefile.local
20 @@ -18,7 +18,7 @@ notmuch_client_srcs =         \
21  
22  notmuch_client_modules = $(notmuch_client_srcs:.c=.o)
23  notmuch: $(notmuch_client_modules) lib/notmuch.a
24 -       $(CC) $(LDFLAGS) $^ -o $@
25 +       $(CXX) $(LDFLAGS) $^ -o $@
26  
27  notmuch.1.gz:
28         gzip --stdout notmuch.1 > notmuch.1.gz
29 -- 
30 1.6.3.3
31
32