]> git.ipfire.org Git - thirdparty/git.git/commit - Makefile
Makefile: link libcurl before zlib
authorRemi Pommarel <repk@triplefau.lt>
Wed, 21 Oct 2015 17:01:13 +0000 (19:01 +0200)
committerJunio C Hamano <gitster@pobox.com>
Wed, 21 Oct 2015 19:43:03 +0000 (12:43 -0700)
commit9eaa78b0b037964da85d6a15f0128639f2118a53
tree41145ad1cc0f85f743c3b8b619db582fd00f3f96
parentee6ad5f4d56e697c972af86cbefdf269b386e470
Makefile: link libcurl before zlib

For static linking especially library order while linking is important. For
example, libcurl wants symbols from zlib when building http-push, http-fetch
and remote-curl. So for these programs libcurl has to be linked before zlib.

Signed-off-by: Remi Pommarel <repk@triplefau.lt>
Reviewed-by: Jonathan Nieder <jrnieder@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile