-
Notifications
You must be signed in to change notification settings - Fork 284
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Detect OpenSSL 1.1 automatically #2053
Comments
I found the following - for me - strange behavior: When changing to the compiler to latest 1.7.0 ldc2 by --compiler ldc2 I get the openssl - probably known - linking errors: which I could avoid using an additional --override-config="vibe-d:tls/openssl-1.1" Do you know why? |
Maybe with Vibe.d 0.8.4 OpenSSL 1.1 could be the new default? |
@EmTee70 I got it to compile in subConfiguration: {
"vibe-d:tls": "notls"
} I also noticed that if you don't pass this subconfiguration, I would expect This build system needs to change a bit, I compile in macOS and Arch Linux and it's been quite annoying to find a configuration that works in both (macOS needs to link against openssl2.0 if memory doens't fail me) |
A hack to detect OpenSSL 1.1 automatically: #2190 |
Using
all the time becomes a bit annoying and it's also very hard for newcomers to know that this option is needed when they look at the linker failures.
Ideas:
openssl version | cut -d " " -f2
)(1) will be a lot of work, (2) would be hard to get working in a cross-platform way and (3) will be quite spammy.
Anyhow I guess (2) is probably the least amount of work. Ideas?
The text was updated successfully, but these errors were encountered: