diff options
author | mingwugmail <mingwu@gmail.com> | 2021-05-26 00:38:22 +0200 |
---|---|---|
committer | Jens Geyer <jensg@apache.org> | 2021-05-27 23:12:53 +0200 |
commit | 4abc5cfb4b3dea54484ca49a584b472a7373f3c5 (patch) | |
tree | 2d098a3f7ddc71e89346851a86d3e48e7a6b733c /dub.json | |
parent | 9a4802ab411f1f45b58a8eae015707502e36b8ed (diff) | |
download | thrift-4abc5cfb4b3dea54484ca49a584b472a7373f3c5.tar.gz |
fix D build, with D lang openssl 2.0.3
Client: d
Patch: mingwugmail <mingwu@gmail.com>
This closes #2397
Diffstat (limited to 'dub.json')
-rw-r--r-- | dub.json | 25 |
1 files changed, 21 insertions, 4 deletions
@@ -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" |