From 69df745bc6eecaed4edafe5d3c511f172d45e367 Mon Sep 17 00:00:00 2001 From: Amin Bandali <amin.bandali@savoirfairelinux.com> Date: Tue, 16 Feb 2021 15:59:11 -0500 Subject: [PATCH] contrib: check for system openssl before forcing contrib libressl Change-Id: Ic30140e02be588ef36e6315235a33ebc11b6e32d --- contrib/src/opendht/rules.mak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/contrib/src/opendht/rules.mak b/contrib/src/opendht/rules.mak index cad86cb84e..1204319153 100644 --- a/contrib/src/opendht/rules.mak +++ b/contrib/src/opendht/rules.mak @@ -14,7 +14,7 @@ endif ifneq ($(call need_pkg,"libargon2"),) DEPS_opendht += argon2 endif -ifneq ($(call need_pkg,"libressl >= 1-12-2"),) +ifneq ($(and $(call need_pkg,"openssl >= 1.1.0"),$(call need_pkg,"libressl >= 1.12.2")),) DEPS_opendht += libressl endif ifneq ($(call need_pkg,"restinio >= v.0.5.1"),) -- GitLab