Thread (1 message) 1 message, 1 author, 2016-06-15

Re: [PATCH v2 1/1] Makefile: link libcurl before openssl and crypto

From: Junio C Hamano <hidden>
Date: 2016-06-15 23:06:41

Remi Pommarel [off-list ref] writes:
For static linking especially library order while linking is important. For
example libssl contains symbol from libcrypto so the former should be linked
before the latter.
That example is not a very good one to use for two reasons:

 (1) NEEDS_SSL_WITH_CRYPTO is a conter-example of crypto wanting to
     be before the latter.

 (2) More importantly, you are not changing the order between them.

The breakage you are fixing with this patch is that libcurl want to
come before libssl when building http-push, http-fetch, and remote-curl,
so that is a very good example to use in the above sentence.
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help