Hi,

Linking fails on my system for some reason (undefined references to
talloc functions).  Putting $(LDFLAGS) after the object list solves it.

Peter

diff --git a/Makefile.local b/Makefile.local
index 27e42ba..c2fbe21 100644
--- a/Makefile.local
+++ b/Makefile.local
@@ -18,7 +18,7 @@ notmuch_client_srcs =         \

 notmuch_client_modules = $(notmuch_client_srcs:.c=.o)
 notmuch: $(notmuch_client_modules) lib/notmuch.a
-       $(CXX) $(LDFLAGS) $^ -o $@
+       $(CXX) $^ $(LDFLAGS) -o $@

 notmuch.1.gz: notmuch.1
        gzip --stdout notmuch.1 > notmuch.1.gz

Reply via email to