]> git.cworth.org Git - obsolete/notmuch-old/blobdiff - lib/Makefile.local
Makefile: Move compat sources from the client code to the library.
[obsolete/notmuch-old] / lib / Makefile.local
index ed6b25f4671eb768ac4b5216c168d28bde9614b8..dc608ef0994c4b86b76ec3af16c23a5fb5fc7981 100644 (file)
@@ -30,6 +30,7 @@ dir := lib
 extra_cflags += -I$(dir) -fPIC
 
 libnotmuch_c_srcs =            \
+       $(notmuch_compat_srcs)  \
        $(dir)/libsha1.c        \
        $(dir)/message-file.c   \
        $(dir)/messages.c       \
@@ -51,7 +52,7 @@ $(dir)/libnotmuch.a: $(libnotmuch_modules)
        $(call quiet,AR) rcs $@ $^
 
 $(dir)/$(LIBNAME): $(libnotmuch_modules)
-       $(call quiet,CXX $(CXXFLAGS)) $^ $(FINAL_LDFLAGS) -shared -Wl,-soname=$(SONAME) -o $@
+       $(call quiet,CXX $(CXXFLAGS)) $^ $(FINAL_LIBNOTMUCH_LDFLAGS) -shared -Wl,-soname=$(SONAME) -o $@
 
 $(dir)/$(SONAME): $(dir)/$(LIBNAME)
        ln -sf $(LIBNAME) $@