X-Git-Url: https://git.cworth.org/git?a=blobdiff_plain;f=test%2FMakefile.local;fp=test%2FMakefile.local;h=2b18bdb92af1b43bcbe25dc15fd6f1e66fc935a2;hb=d647a1917361aaf39d19a2c32df16e8490082a0e;hp=ae9db809a1e086f10787a147c7cbfe2c3ade5f32;hpb=57b4ef6f30d41cd14aa570b329841fc2082260ff;p=notmuch diff --git a/test/Makefile.local b/test/Makefile.local index ae9db809..2b18bdb9 100644 --- a/test/Makefile.local +++ b/test/Makefile.local @@ -35,9 +35,17 @@ $(dir)/symbol-test: $(dir)/symbol-test.o lib/$(LINKER_NAME) $(dir)/parse-time: $(dir)/parse-time.o parse-time-string/parse-time-string.o $(call quiet,CC) $^ -o $@ +$(dir)/have-compact: Makefile.config +ifeq ($(HAVE_XAPIAN_COMPACT),1) + ln -sf /bin/true $@ +else + ln -sf /bin/false $@ +endif + .PHONY: test check TEST_BINARIES=$(dir)/arg-test \ + $(dir)/have-compact \ $(dir)/hex-xcode \ $(dir)/random-corpus \ $(dir)/parse-time \