зеркало из https://github.com/microsoft/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 <junkio@cox.net>
This commit is contained in:
Родитель
b4635be7c9
Коммит
3be4b61aa4
2
Makefile
2
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
|
||||
|
||||
|
|
Загрузка…
Ссылка в новой задаче