Skip to content

Commit 4ea883d

Browse files
Steven PennyGit for Windows Build Agent
authored andcommitted
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 <[email protected]> Signed-off-by: Johannes Schindelin <[email protected]>
1 parent a26e84e commit 4ea883d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Makefile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2055,7 +2055,7 @@ git-%$X: %.o GIT-LDFLAGS $(GITLIBS)
20552055

20562056
git-imap-send$X: imap-send.o $(IMAP_SEND_BUILDDEPS) GIT-LDFLAGS $(GITLIBS)
20572057
$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \
2058-
$(LIBS) $(IMAP_SEND_LDFLAGS)
2058+
$(IMAP_SEND_LDFLAGS) $(LIBS)
20592059

20602060
git-http-fetch$X: http.o http-walker.o http-fetch.o GIT-LDFLAGS $(GITLIBS)
20612061
$(QUIET_LINK)$(CC) $(ALL_CFLAGS) -o $@ $(ALL_LDFLAGS) $(filter %.o,$^) \

0 commit comments

Comments
 (0)