From: Junio C Hamano Date: Tue, 10 May 2005 20:25:27 +0000 (-0700) Subject: Link with -lcrypto instead of -lssl when using openssl libraries. X-Git-Tag: v0.99~603^2~4 X-Git-Url: http://git.tremily.us/?a=commitdiff_plain;h=3be4b61aa4ffb54a42c717772518b2a14b1e352b;p=git.git Link with -lcrypto instead of -lssl when using openssl libraries. Mark Allen had trouble with building GIT on his Darwin and posted a patch to link with -lcrypto instead of -lssl on Darwin. Later Daniel Barkalow suggested to change it for everybody who uses openssl, because the relevant functionality is in -lcrypto not in -lssl, and the current linking happens to work only because -lssl pulls in -lcrypto. Signed-off-by: Junio C Hamano --- diff --git a/Makefile b/Makefile index 5c078f907..6afcb3e86 100644 --- a/Makefile +++ b/Makefile @@ -60,7 +60,7 @@ ifdef PPC_SHA1 LIB_OBJS += ppc/sha1.o ppc/sha1ppc.o else SHA1_HEADER= - LIBS += -lssl + LIBS += -lcrypto endif endif