mirror of
https://github.com/git/git.git
synced 2026-03-17 12:10:08 +01:00
Merge branch 'jc/maint-no-openssl-build-fix' into next
* jc/maint-no-openssl-build-fix: Do not link with -lcrypto under NO_OPENSSL
This commit is contained in:
4
Makefile
4
Makefile
@@ -1303,11 +1303,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
|
||||
|
||||
Reference in New Issue
Block a user