diff options
| author | Aaron Ecay <aaronecay@gmail.com> | 2010-04-11 19:44:51 -0400 |
|---|---|---|
| committer | Carl Worth <cworth@cworth.org> | 2010-04-14 10:27:36 -0700 |
| commit | 16f0e7dcf4dc42f9637fdc82f887761b246b98c9 (patch) | |
| tree | 45fa13afb41302feaefb06b3512284280abe166d | |
| parent | db96d67ba2e2ae01bc3139a3a22cc5433880cbae (diff) | |
Use C++ compiler to link notmuch binaries
Since the binaries contain C++ code, it is necessary to use the C++
linker, or errors result on some platforms (OS X).
Signed-off-by: Aaron Ecay <aaronecay@gmail.com>
| -rw-r--r-- | Makefile.local | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.local b/Makefile.local index 9a1d055b..8b926f8d 100644 --- a/Makefile.local +++ b/Makefile.local @@ -217,10 +217,10 @@ notmuch_client_srcs = \ notmuch_client_modules = $(notmuch_client_srcs:.c=.o) notmuch: $(notmuch_client_modules) lib/libnotmuch.a - $(call quiet,CC $(CFLAGS)) $^ $(FINAL_LIBNOTMUCH_LDFLAGS) -o $@ + $(call quiet,CXX $(CFLAGS)) $^ $(FINAL_LIBNOTMUCH_LDFLAGS) -o $@ notmuch-shared: $(notmuch_client_modules) lib/libnotmuch.so - $(call quiet,CC $(CFLAGS)) $(notmuch_client_modules) $(FINAL_NOTMUCH_LDFLAGS) -o $@ + $(call quiet,CXX $(CFLAGS)) $(notmuch_client_modules) $(FINAL_NOTMUCH_LDFLAGS) -o $@ notmuch.1.gz: notmuch.1 gzip --stdout $^ > $@ |
