]> git.cworth.org Git - obsolete/notmuch-old/commitdiff
Fix missing xapian-flags when generating dependencies.
authorCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 23:09:31 +0000 (16:09 -0700)
committerCarl Worth <cworth@cworth.org>
Sun, 25 Oct 2009 23:09:31 +0000 (16:09 -0700)
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.

Makefile

index bf34b8a5160bd49bc4cc3ac8980f19aed44e909f..6af7faf510ed15f1cd86bdcbe2ea5bc490c84334 100644 (file)
--- 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: