summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLibravatar Steven Penny <svnpenn@gmail.com>2017-01-08 00:12:38 -0600
committerLibravatar Junio C Hamano <gitster@pobox.com>2017-01-09 06:31:52 -0800
commitaa38ad2b24c14414c18a440d4cdfc9cd02bbcb96 (patch)
tree6117c8d9da28161dade49f7788cef4e628797404
parentMakefile: POSIX windres (diff)
downloadtgif-aa38ad2b24c14414c18a440d4cdfc9cd02bbcb96.tar.xz
Makefile: put LIBS after LDFLAGS for imap-send
This matches up with the targets git-%, git-http-fetch, git-http-push and git-remote-testsvn. It must be done this way in Cygwin else lcrypto cannot find lgdi32 and lws2_32. Signed-off-by: Steven Penny <svnpenn@gmail.com> Signed-off-by: Johannes Schindelin <johannes.schindelin@gmx.de> Signed-off-by: Junio C Hamano <gitster@pobox.com>
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a2a1212504..27afd0f378 100644
--- a/Makefile
+++ b/Makefile
@@ -2046,7 +2046,7 @@ git-%$X: %.o GIT-LDFLAGS $(GITLIBS)
git-imap-send$X: imap-send.o $(IMAP_SEND_BUILDDEPS) GIT-LDFLAGS $(GITLIBS)
$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
- $(LIBS) $(IMAP_SEND_LDFLAGS)
+ $(IMAP_SEND_LDFLAGS) $(LIBS)
git-http-fetch$X: http.o http-walker.o http-fetch.o GIT-LDFLAGS $(GITLIBS)
$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \