Skip to content

Commit

Permalink
Don't mark openssl dependencies as optional on musl.
Browse files Browse the repository at this point in the history
  • Loading branch information
KtorZ committed Oct 2, 2024
1 parent f4dbe16 commit 79d0e45
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 5 deletions.
7 changes: 3 additions & 4 deletions crates/aiken/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,6 @@ uplc = { path = '../uplc', version = "1.1.4" }
[target.'cfg(not(windows))'.dependencies]
xdg = "2.5.2"

[target.'cfg(target_os = "linux")'.dependencies]
openssl = { version = "0.10.66", features = ["vendored"], optional = true }
openssl-probe = { version = "0.1.5", optional = true }
xdg = "2.5.2"
[target.'cfg(target_env = "musl")'.dependencies]
openssl = { version = "0.10.66", features = ["vendored"] }
openssl-probe = "0.1.5"
2 changes: 1 addition & 1 deletion crates/aiken/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ mod cmd;
fn main() -> miette::Result<()> {
panic_handler();

#[cfg(target_os = "linux")]
#[cfg(target_env = "musl")]
openssl_probe::init_ssl_cert_env_vars();

match Cmd::default() {
Expand Down

0 comments on commit 79d0e45

Please sign in to comment.