]> git.notmuchmail.org Git - notmuch/blobdiff - Makefile.local
Add infrastructure for building shared library on OS X.
[notmuch] / Makefile.local
index 0f99e3f9d9d3c3253f6256ed3de1acf1d4b6a639..79ac50d4ff555b736a3d78fcfb89843839ed50e0 100644 (file)
@@ -199,7 +199,7 @@ notmuch_client_modules = $(notmuch_client_srcs:.c=.o)
 notmuch: $(notmuch_client_modules) lib/libnotmuch.a
        $(call quiet,CXX $(CFLAGS)) $^ $(FINAL_LIBNOTMUCH_LDFLAGS) -o $@
 
-notmuch-shared: $(notmuch_client_modules) lib/libnotmuch.so
+notmuch-shared: $(notmuch_client_modules) lib/$(LINKER_NAME)
        $(call quiet,CXX $(CFLAGS)) $(notmuch_client_modules) $(FINAL_NOTMUCH_LDFLAGS) -o $@
 
 notmuch.1.gz: notmuch.1