]> git.notmuchmail.org Git - notmuch/commitdiff
test/Makefile.local: Added configured TALLOC_LDFLAGS.
authorCharles Celerier <cceleri@cs.stanford.edu>
Tue, 6 May 2014 17:02:24 +0000 (13:02 -0400)
committerDavid Bremner <david@tethera.net>
Sat, 17 May 2014 21:31:55 +0000 (06:31 +0900)
The linking to talloc is hard-coded in the testing Makefile. This patch
causes the linking to talloc to be done according to how TALLOC_LDFLAGS
was configured.

Signed-off-by: Charles Celerier <cceleri@cs.stanford.edu>
test/Makefile.local

index 987441f04f1d689758e6825272d8b9c9210a2841..d622eafee7865588ef4a0112225aebed8fe22bd0 100644 (file)
@@ -16,7 +16,7 @@ $(dir)/arg-test: $(dir)/arg-test.o command-line-arguments.o util/libutil.a
        $(call quiet,CC) $^ -o $@
 
 $(dir)/hex-xcode: $(dir)/hex-xcode.o command-line-arguments.o util/libutil.a
-       $(call quiet,CC) $^ -o $@ -ltalloc
+       $(call quiet,CC) $^ $(TALLOC_LDFLAGS) -o $@
 
 random_corpus_deps =  $(dir)/random-corpus.o  $(dir)/database-test.o \
                        notmuch-config.o command-line-arguments.o \