]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
Use C++ compiler to link notmuch binaries
[notmuch] / Makefile.local
index 71525e2c5a07c02bb855ea5b282f78d6d55c888d..8b926f8d71e4d65a186e57eeabd5aa85e5a6d507 100644 (file)
@@ -196,6 +196,7 @@ notmuch_client_srcs =               \
        $(notmuch_compat_srcs)  \
        debugger.c              \
        gmime-filter-reply.c    \
+       gmime-filter-headers.c  \
        notmuch.c               \
        notmuch-config.c        \
        notmuch-count.c         \
@@ -216,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 $^ > $@