From 4abc5cfb4b3dea54484ca49a584b472a7373f3c5 Mon Sep 17 00:00:00 2001 From: mingwugmail Date: Wed, 26 May 2021 00:38:22 +0200 Subject: fix D build, with D lang openssl 2.0.3 Client: d Patch: mingwugmail This closes #2397 --- dub.json | 25 +++++++++++++++++++++---- 1 file changed, 21 insertions(+), 4 deletions(-) (limited to 'dub.json') diff --git a/dub.json b/dub.json index af76afc0c..72b7fbc3b 100644 --- a/dub.json +++ b/dub.json @@ -9,12 +9,29 @@ "dependencies": { "libevent": { "version": "~>2.0.2" - }, - "openssl": { - "version": ">=1.1.6" } }, - "systemDependencies": "On systems with native openssl 1.0.x use dub package openssl~>1.1, on systems with native openssl 1.1.x use dub package openssl~>2.0", + "systemDependencies": "On systems with native openssl 1.0.x use dub package openssl~>1.1, on systems with native openssl 1.1.x use dub package openssl~>2.0.3 (with build bug fix: https://github.com/D-Programming-Deimos/openssl/issues/63)", + "configurations": [ + { + "name": "use_openssl_1_0", + "versions": ["use_openssl_1_0_x"], + "dependencies": { + "openssl": { + "version": "~>1.1.6" + } + } + }, + { + "name": "use_openssl_1_1", + "versions": ["use_openssl_1_1_x"], + "dependencies": { + "openssl": { + "version": "~>2.0.3" + } + } + } + ], "targetType": "library", "sourcePaths": [ "lib/d/src" -- cgit v1.2.1