Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.kernel.org/pub/scm/git/git.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJunio C Hamano <gitster@pobox.com>2010-12-14 18:50:20 +0300
committerJunio C Hamano <gitster@pobox.com>2010-12-14 18:50:20 +0300
commit40d675f417f7b0be7b9367752701bf6bc03db091 (patch)
tree1b69be96d7c41f361d684f9f8eefa6fdae7f95ea
parentb69fb7866b24b205a876a6a0b256c786a58419c7 (diff)
parent5b02b9baf728f6155e2996e5945e07f2e1a57b05 (diff)
Merge branch 'jc/maint-no-openssl-build-fix' into maint
* jc/maint-no-openssl-build-fix: Do not link with -lcrypto under NO_OPENSSL
-rw-r--r--Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/Makefile b/Makefile
index f2de401e29..ecb4e64435 100644
--- a/Makefile
+++ b/Makefile
@@ -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