diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-12-08 14:54:13 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-08 14:54:13 -0800 |
commit | 5b02b9baf728f6155e2996e5945e07f2e1a57b05 (patch) | |
tree | 37c4c32def1d8c24a07aea361c867e134107a2a1 /Makefile | |
parent | f34e9edc7bbb41c52ff6a17dbffbef3d4979ee25 (diff) | |
download | git-5b02b9baf728f6155e2996e5945e07f2e1a57b05.tar.gz git-5b02b9baf728f6155e2996e5945e07f2e1a57b05.tar.xz |
Do not link with -lcrypto under NO_OPENSSL
With 401857c (imap-send: link against libcrypto for HMAC and others,
2010-11-24) we started linking imap-send unconditionally with -lcrypto by
mistake; disable this when we are building under NO_OPENSSL.
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1262,11 +1262,15 @@ else BLK_SHA1 = 1 OPENSSL_LIBSSL = endif +ifdef NO_OPENSSL + LIB_4_CRYPTO = +else ifdef NEEDS_SSL_WITH_CRYPTO LIB_4_CRYPTO = $(OPENSSL_LINK) -lcrypto -lssl else LIB_4_CRYPTO = $(OPENSSL_LINK) -lcrypto endif +endif ifdef NEEDS_LIBICONV ifdef ICONVDIR BASIC_CFLAGS += -I$(ICONVDIR)/include |