Don't mark openssl dependencies as optional on musl.
This commit is contained in:
parent
f4dbe1624a
commit
79d0e45099
|
@ -50,7 +50,6 @@ uplc = { path = '../uplc', version = "1.1.4" }
|
||||||
[target.'cfg(not(windows))'.dependencies]
|
[target.'cfg(not(windows))'.dependencies]
|
||||||
xdg = "2.5.2"
|
xdg = "2.5.2"
|
||||||
|
|
||||||
[target.'cfg(target_os = "linux")'.dependencies]
|
[target.'cfg(target_env = "musl")'.dependencies]
|
||||||
openssl = { version = "0.10.66", features = ["vendored"], optional = true }
|
openssl = { version = "0.10.66", features = ["vendored"] }
|
||||||
openssl-probe = { version = "0.1.5", optional = true }
|
openssl-probe = "0.1.5"
|
||||||
xdg = "2.5.2"
|
|
||||||
|
|
|
@ -14,7 +14,7 @@ mod cmd;
|
||||||
fn main() -> miette::Result<()> {
|
fn main() -> miette::Result<()> {
|
||||||
panic_handler();
|
panic_handler();
|
||||||
|
|
||||||
#[cfg(target_os = "linux")]
|
#[cfg(target_env = "musl")]
|
||||||
openssl_probe::init_ssl_cert_env_vars();
|
openssl_probe::init_ssl_cert_env_vars();
|
||||||
|
|
||||||
match Cmd::default() {
|
match Cmd::default() {
|
||||||
|
|
Loading…
Reference in New Issue