]> git.notmuchmail.org Git - notmuch/commitdiff
cli/git-remote: add libnotmuch shared library as dependency master
authorDavid Bremner <david@tethera.net>
Thu, 19 Feb 2026 23:07:50 +0000 (08:07 +0900)
committerDavid Bremner <david@tethera.net>
Sat, 7 Mar 2026 12:06:57 +0000 (21:06 +0900)
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

index 2eb0ead82b21b087bfbc25d8738cd96ee1886fbc..828e58ef30256df34f9e08225bdb03267a9c6f24 100644 (file)
@@ -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