summaryrefslogtreecommitdiff
path: root/dub.json
diff options
context:
space:
mode:
authormingwugmail <mingwu@gmail.com>2021-05-26 00:38:22 +0200
committerJens Geyer <jensg@apache.org>2021-05-27 23:12:53 +0200
commit4abc5cfb4b3dea54484ca49a584b472a7373f3c5 (patch)
tree2d098a3f7ddc71e89346851a86d3e48e7a6b733c /dub.json
parent9a4802ab411f1f45b58a8eae015707502e36b8ed (diff)
downloadthrift-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.json25
1 files changed, 21 insertions, 4 deletions
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"