aboutsummaryrefslogtreecommitdiff
path: root/Makefile.local
diff options
context:
space:
mode:
authorPeter Wang <novalazy@gmail.com>2009-11-19 19:13:35 +1100
committerCarl Worth <cworth@cworth.org>2009-11-19 18:05:22 +0100
commitddac17343a30976cae82c9f57419c063e1585cc0 (patch)
treeb23cf6d2f9794a4c43d174f0d0e519f7774b211b /Makefile.local
parent3f52f59c1e5ae677ee67969aacb6381f79e42303 (diff)
Put $(LDFLAGS) after the list of object files.
Some linkers on some systems are particularly picky about the order of arguments in order to properly linkt. So this fixes failures on some systems.
Diffstat (limited to 'Makefile.local')
-rw-r--r--Makefile.local2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.local b/Makefile.local
index 6bc01a5..c44d160 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