mirror of
https://git.notmuchmail.org/git/notmuch
synced 2025-01-03 07:11:41 +01:00
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>
This commit is contained in:
parent
db96d67ba2
commit
16f0e7dcf4
1 changed files with 2 additions and 2 deletions
|
@ -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 $^ > $@
|
||||
|
|
Loading…
Reference in a new issue