Skip to content

Commit

Permalink
Merge pull request #2277 from vibe-d/rdmd_reliability_workaround
Browse files Browse the repository at this point in the history
Ignore rdmd failures in the OpenSSL version detection.
merged-on-behalf-of: Sönke Ludwig <[email protected]>
  • Loading branch information
dlang-bot authored Mar 7, 2019
2 parents 71a7883 + 43aebf8 commit f0027d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion tls/dub.sdl
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ configuration "openssl" {
auto output = dir.buildPath("openssl_version.d");
if (!output.exists || output.readText.strip != data.strip)
data.toFile(output);
'` platform="posix"
' || true` platform="posix"
}

configuration "openssl-1.1" {
Expand Down
2 changes: 1 addition & 1 deletion tls/vibe/stream/openssl.d
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ else
{
// Only use the openssl_version file if it has been generated
static if (__traits(compiles, {import openssl_version; }))
mixin("import openssl_version;");
mixin("public import openssl_version : OPENSSL_VERSION;");
else
// try 1.1.0 as softfallback if old other means failed
enum OPENSSL_VERSION = "1.1.0";
Expand Down

0 comments on commit f0027d7

Please sign in to comment.