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.
This commit is contained in:
Mike Kelly 2012-05-30 03:01:57 -04:00 committed by David Bremner
parent df6f3cdf9d
commit 8428e0465a

View file

@ -17,7 +17,7 @@ $(dir)/smtp-dummy: $(smtp_dummy_modules)
$(call quiet,CC) $^ -o $@ $(call quiet,CC) $^ -o $@
$(dir)/symbol-test: $(dir)/symbol-test.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 .PHONY: test check