summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorJunio C Hamano <junkio@cox.net>2005-05-10 20:25:27 (GMT)
committerJunio C Hamano <junkio@cox.net>2005-05-10 20:25:27 (GMT)
commit3be4b61aa4ffb54a42c717772518b2a14b1e352b (patch)
tree5f78032140a8075e8984fd437cdbe14f7f0113a3 /Makefile
parentb4635be7c9e0855a29609d8171fc9ff27db573ee (diff)
downloadgit-3be4b61aa4ffb54a42c717772518b2a14b1e352b.zip
git-3be4b61aa4ffb54a42c717772518b2a14b1e352b.tar.gz
git-3be4b61aa4ffb54a42c717772518b2a14b1e352b.tar.bz2
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 <junkio@cox.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 5c078f9..6afcb3e 100644
--- a/Makefile
+++ b/Makefile
@@ -60,7 +60,7 @@ ifdef PPC_SHA1
LIB_OBJS += ppc/sha1.o ppc/sha1ppc.o
else
SHA1_HEADER=<openssl/sha.h>
- LIBS += -lssl
+ LIBS += -lcrypto
endif
endif