alexcrichton / openssl-src-rs

Source code and logic to build OpenSSL from source
Apache License 2.0
69 stars 114 forks source link

Detect new *-alpine-linux-musl targets #213

Closed kpcyrd closed 1 year ago

kpcyrd commented 1 year ago

This resolves the build failure on Alpine 3.18 described at https://github.com/sfackler/rust-openssl/issues/1624

cd openssl-sys
cargo build --features vendored

This target is used to distinguish from *-unknown-linux-musl that currently implies static linking in Rust world.

The list is incomplete, I think there are a few more targets. Done

See also: https://gitlab.alpinelinux.org/alpine/aports/-/blob/master/main/rust/alpine-target.patch