-
Notifications
You must be signed in to change notification settings - Fork 237
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
Static OpenSSL option for MacOS and Windows #284
base: main
Are you sure you want to change the base?
Conversation
Thanks! Could a test on CI be added for this? Also, I'm sort of losing track of all the features the |
definitely, should be able to work on it later today or tomorrow. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! I think with an update to CI to exercise this it should be good to go
if let Some(path) = env::var_os("DEP_OPENSSL_INCLUDE") { | ||
cfg.include(path); | ||
} | ||
println!("cargo:rustc-link-lib=ssl"); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think this should be covered by openssl-sys right?
well i just discovered this pr actually isn't building right anyway. seems like without target specific features i probably won't be able to make this work without breaking changes. it's 100% possible i'm missing something obvious, however. |
Could that be fixed by perhaps just making |
it does fix my build, but it also ends up compiling openssl for every target because |
Oh right :( Hm I'm not sure how best to configure this in that case :( |
i experimented locally with moving the current crate into a subfolder ( anyway, this whole effort may not be worth it once |
Hm yeah that may be a bit overkill for this, and if |
#278 take 2!
provides feature to opt in to static openssl linkage.