summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorSteven Penny <svnpenn@gmail.com>2017-01-08 06:12:38 (GMT)
committerJunio C Hamano <gitster@pobox.com>2017-01-09 14:31:52 (GMT)
commitaa38ad2b24c14414c18a440d4cdfc9cd02bbcb96 (patch)
tree6117c8d9da28161dade49f7788cef4e628797404 /Makefile
parent7c44b33f8b67cc6737caa0b812dbd963ca8bbb00 (diff)
downloadgit-aa38ad2b24c14414c18a440d4cdfc9cd02bbcb96.zip
git-aa38ad2b24c14414c18a440d4cdfc9cd02bbcb96.tar.gz
git-aa38ad2b24c14414c18a440d4cdfc9cd02bbcb96.tar.bz2
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>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index a2a1212..27afd0f 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,$^) \