In [1], Anton mentioned encountering a race condition in the build
system, and suggested this fix.
[1]: id:
177149756401.20239.
4570498044656906075@lain.khirnov.net
git-remote-notmuch: git-remote-notmuch.o status.o tag-util.o query-string.o lib/libnotmuch.a util/libnotmuch_util.a parse-time-string/libparse-time-string.a
$(call quiet,CXX $(CFLAGS)) $^ $(FINAL_LIBNOTMUCH_LDFLAGS) -o $@
-git-remote-notmuch-shared: git-remote-notmuch.o status.o tag-util.o query-string.o
+git-remote-notmuch-shared: git-remote-notmuch.o status.o tag-util.o query-string.o lib/$(LINKER_NAME)
$(call quiet,$(FINAL_NOTMUCH_LINKER) $(CFLAGS)) $^ $(FINAL_NOTMUCH_LDFLAGS) -o $@
.PHONY: install