adamdruppe / arsd

This is a collection of modules that I've released over the years. Most of them stand alone, or have just one or two dependencies in here, so you don't have to download this whole repo.
http://arsd-official.dpldocs.info/arsd.html
531 stars 128 forks source link

dub configuration for package http is broken #223

Closed andre2007 closed 4 years ago

andre2007 commented 4 years ago

https://github.com/adamdruppe/arsd/blob/a402c6eaa24ee49dfd8dce2cc6e6fab79be51942/dub.json#L175

There are 2 issues:

Please replace with:

{
            "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)",
            "targetType": "library",
            "sourceFiles": ["http2.d"],
            "importPaths": ["."],
            "dflags": ["-mv=arsd.http2=http2.d"],
            "configurations": [
                {
                    "name": "with_openssl",
                    "versions": ["with_openssl"],
                    "libs": ["crypto", "ssl"]
                },
                {
                    "name": "without_openssl",
                    "versions": ["without_openssl"]
                }
            ]
        }
adamdruppe commented 4 years ago

check it now.......

andre2007 commented 4 years ago

Thank you Adam, this fixed the issue.