summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteven Penny <svnpenn@gmail.com>2017-01-08 00:12:38 -0600
committerJunio C Hamano <gitster@pobox.com>2017-01-09 06:31:52 -0800
commitaa38ad2b24c14414c18a440d4cdfc9cd02bbcb96 (patch)
tree6117c8d9da28161dade49f7788cef4e628797404
parent7c44b33f8b67cc6737caa0b812dbd963ca8bbb00 (diff)
downloadgit-sp/cygwin-build-fixes.tar.gz
Makefile: put LIBS after LDFLAGS for imap-sendsp/cygwin-build-fixes
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,$^) \