Skip to content

Commit 40d675f

Browse files
committed
Merge branch 'jc/maint-no-openssl-build-fix' into maint
* jc/maint-no-openssl-build-fix: Do not link with -lcrypto under NO_OPENSSL
2 parents b69fb78 + 5b02b9b commit 40d675f

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1262,11 +1262,15 @@ else
12621262
BLK_SHA1 = 1
12631263
OPENSSL_LIBSSL =
12641264
endif
1265+
ifdef NO_OPENSSL
1266+
LIB_4_CRYPTO =
1267+
else
12651268
ifdef NEEDS_SSL_WITH_CRYPTO
12661269
LIB_4_CRYPTO = $(OPENSSL_LINK) -lcrypto -lssl
12671270
else
12681271
LIB_4_CRYPTO = $(OPENSSL_LINK) -lcrypto
12691272
endif
1273+
endif
12701274
ifdef NEEDS_LIBICONV
12711275
ifdef ICONVDIR
12721276
BASIC_CFLAGS += -I$(ICONVDIR)/include

0 commit comments

Comments
 (0)