[PATCH] cli/git-remote: add libnotmuch shared library as dependency

Subject: [PATCH] cli/git-remote: add libnotmuch shared library as dependency

Date: Fri, 20 Feb 2026 08:07:50 +0900

To: Anton Khirnov, notmuch@notmuchmail.org, David Bremner

Cc:

From: David Bremner


In [1], Anton mentioned encountering a race condition in the build
system, and suggested this fix.

[1]: id:177149756401.20239.4570498044656906075@lain.khirnov.net
---
 Makefile.local | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Makefile.local b/Makefile.local
index 2eb0ead8..828e58ef 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -276,7 +276,7 @@ notmuch-shared: $(notmuch_client_modules) lib/$(LINKER_NAME)
 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
-- 
2.51.0

_______________________________________________
notmuch mailing list -- notmuch@notmuchmail.org
To unsubscribe send an email to notmuch-leave@notmuchmail.org

Thread: