diff options
author | Junio C Hamano <gitster@pobox.com> | 2010-12-14 16:50:20 +0100 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2010-12-14 16:50:20 +0100 |
commit | 40d675f417f7b0be7b9367752701bf6bc03db091 (patch) | |
tree | 1b69be96d7c41f361d684f9f8eefa6fdae7f95ea /Makefile | |
parent | Merge branch 'ja/maint-pull-rebase-doc' into maint (diff) | |
parent | Do not link with -lcrypto under NO_OPENSSL (diff) | |
download | git-40d675f417f7b0be7b9367752701bf6bc03db091.tar.xz git-40d675f417f7b0be7b9367752701bf6bc03db091.zip |
Merge branch 'jc/maint-no-openssl-build-fix' into maint
* jc/maint-no-openssl-build-fix:
Do not link with -lcrypto under NO_OPENSSL
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 |