From faac34aebb9e4564edd8accbf71088bfcc7c0db7 Mon Sep 17 00:00:00 2001 From: "Adam D. Ruppe" Date: Thu, 17 Oct 2019 08:39:55 -0400 Subject: [PATCH] configs --- dub.json | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) diff --git a/dub.json b/dub.json index 2357b0d..483d0a6 100644 --- a/dub.json +++ b/dub.json @@ -171,12 +171,20 @@ { "name": "http", "description": "HTTP client library. Depends on OpenSSL right now on all platforms. On 32 bit Windows, you may need to get OMF openssl lib and dlls (ask me if you can't find it)", - "libs": ["crypto", "ssl"], - "versions": ["with_openssl"], "targetType": "library", "sourceFiles": ["http2.d"], "importPaths": ["."], - "dflags": ["-mv=arsd.http2=http2.d"] + "dflags": ["-mv=arsd.http2=http2.d"], + "configurations": [ + { + "name": "with_openssl", + "versions": ["with_openssl"], + "libs": ["crypto", "ssl"] + }, + { + "name": "without_openssl", + "versions": ["without_openssl"] + } }, { "name": "jsvar",