[notmuch] link error
Peter Wang
novalazy at gmail.com
Thu Nov 19 00:13:35 PST 2009
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
More information about the notmuch
mailing list