Quoting David Bremner (2026-01-24 23:56:36)
> diff --git a/Makefile.local b/Makefile.local
> index 2cc9bd29..2eb0ead8 100644
> --- a/Makefile.local
> +++ b/Makefile.local
> @@ -272,10 +273,17 @@ notmuch: $(notmuch_client_modules) lib/libnotmuch.a 
> util/libnotmuch_util.a parse
>  notmuch-shared: $(notmuch_client_modules) lib/$(LINKER_NAME)
>       $(call quiet,$(FINAL_NOTMUCH_LINKER) $(CFLAGS)) 
> $(notmuch_client_modules) $(FINAL_NOTMUCH_LDFLAGS) -o $@
>  
> +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
> +     $(call quiet,$(FINAL_NOTMUCH_LINKER) $(CFLAGS)) $^ 
> $(FINAL_NOTMUCH_LDFLAGS) -o $@

When I run make -j32, this sometimes fails with
CC -g -O2 git-remote-notmuch-shared
/usr/bin/ld: cannot find -lnotmuch: No such file or directory
collect2: error: ld returned 1 exit status
make: *** [Makefile.local:280: git-remote-notmuch-shared] Error 1

Probably needs libnotmuch.so in the prerequisites.

-- 
Anton Khirnov
_______________________________________________
notmuch mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to