mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-03 07:11:41 +01:00
Fix linking with gcc to use g++ to link in C++ libs.
Previously, Ubuntu 9.10, gcc 4.4.1 was getting: /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()'
This commit is contained in:
parent
fe6d3b79b0
commit
b032cf98f5
1 changed files with 1 additions and 1 deletions
|
@ -18,7 +18,7 @@ notmuch_client_srcs = \
|
|||
|
||||
notmuch_client_modules = $(notmuch_client_srcs:.c=.o)
|
||||
notmuch: $(notmuch_client_modules) lib/notmuch.a
|
||||
$(CC) $(LDFLAGS) $^ -o $@
|
||||
$(CXX) $(LDFLAGS) $^ -o $@
|
||||
|
||||
notmuch.1.gz: notmuch.1
|
||||
gzip --stdout notmuch.1 > notmuch.1.gz
|
||||
|
|
Loading…
Reference in a new issue