Don't mark openssl dependencies as optional on musl.

This commit is contained in:
KtorZ 2024-10-02 11:32:17 +02:00
parent f4dbe1624a
commit 79d0e45099
No known key found for this signature in database
GPG Key ID: 33173CB6F77F4277
2 changed files with 4 additions and 5 deletions

View File

@ -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"

View File

@ -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() {