From: Mike Kelly Date: Wed, 30 May 2012 07:01:57 +0000 (-0400) Subject: test/Makefile.local: Use $(XAPIAN_LDFLAGS) for symbol-test X-Git-Tag: 0.15_rc1~252 X-Git-Url: https://git.notmuchmail.org/git?p=notmuch;a=commitdiff_plain;h=8428e0465a24858dbe0e002539607c018c9c6839 test/Makefile.local: Use $(XAPIAN_LDFLAGS) for symbol-test On FreeBSD, and probably anywhere else someone installed xapian to some other prefix, we need to use XAPIAN_LDFLAGS to make the linker can actually find libxapian. --- diff --git a/test/Makefile.local b/test/Makefile.local index c7f14355..45df4c71 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -17,7 +17,7 @@ $(dir)/smtp-dummy: $(smtp_dummy_modules) $(call quiet,CC) $^ -o $@ $(dir)/symbol-test: $(dir)/symbol-test.o - $(call quiet,CXX) $^ -o $@ -Llib -lnotmuch -lxapian + $(call quiet,CXX) $^ -o $@ -Llib -lnotmuch $(XAPIAN_LDFLAGS) .PHONY: test check