Makefile: Add NEEDS_CRYPTO_WITH_SSL
commit0460dba4b4c47ac0b11ccb85b319792280422bc9
authorBrian Gernhardt <brian@gernhardtsoftware.com>
Tue, 8 Sep 2009 13:54:38 +0000 (8 09:54 -0400)
committerJunio C Hamano <gitster@pobox.com>
Thu, 10 Sep 2009 17:22:05 +0000 (10 10:22 -0700)
treeb0ed8423d5fe6966b70b2f9732a993e8fb8cb341
parentaaa68dd50f7b4226fdfdfbbe8bbb2dfd9a9e6d66
Makefile: Add NEEDS_CRYPTO_WITH_SSL

The Makefile comment for NEEDS_SSL_WITH_CRYPTO says to define it "if
you need -lcrypto with -lssl (Darwin)."  However, what it actually
does is add -lssl when you use -lcrypto and not the other way around.
However, libcrypto contains a majority of the ERR_* functions from
OpenSSL (at least on OS X) so we need it both ways.

So, add NEEDS_CRYPTO_WITH_SSL which adds -lcrypto to the OpenSSL link
flags and clarify the difference between it and NEEDS_SSL_WITH_CRYPTO.

Signed-off-by: Brian Gernhardt <brian@gernhardtsoftware.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Makefile