]> git.notmuchmail.org Git - notmuch/commitdiff
test/Makefile.local: Use $(XAPIAN_LDFLAGS) for symbol-test
authorMike Kelly <pioto@pioto.org>
Wed, 30 May 2012 07:01:57 +0000 (03:01 -0400)
committerDavid Bremner <bremner@debian.org>
Sun, 2 Sep 2012 02:16:05 +0000 (23:16 -0300)
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.

test/Makefile.local

index c7f14355aa255d3d4a196bec95d285290b166030..45df4c718fb47f3545202f3d02e75c993cd47338 100644 (file)
@@ -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