From: Carl Worth Date: Sun, 25 Oct 2009 23:09:31 +0000 (-0700) Subject: Fix missing xapian-flags when generating dependencies. X-Git-Tag: 0.1~701 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=179629b672092cb98b8d15bca7d5a622500a488a;ds=sidebyside Fix missing xapian-flags when generating dependencies. I didn't notice this because `xapian-config -cxxflags` gives empty output on my system. But for someone with the xapian library installed in some non-standard location this would be important. --- diff --git a/Makefile b/Makefile index bf34b8a5..6af7faf5 100644 --- a/Makefile +++ b/Makefile @@ -33,7 +33,7 @@ notmuch: $(MODULES) $(CC) $(MYLDFLAGS) $^ -o $@ Makefile.dep: *.c *.cc - $(CC) -M $(CPPFLAGS) $(CDEPENDS_FLAGS) $^ > $@ + $(CXX) -M $(CPPFLAGS) $(CDEPENDS_FLAGS) $(CXXDEPENDS_FLAGS) $^ > $@ -include Makefile.dep clean: