Skip to content
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

Unable to generate static binaries on Haiku #127

Closed
kallisti5 opened this issue Mar 16, 2022 · 1 comment
Closed

Unable to generate static binaries on Haiku #127

kallisti5 opened this issue Mar 16, 2022 · 1 comment

Comments

@kallisti5
Copy link
Contributor

Haiku R1/beta3, Rust 1.57.0

Attempting to build a static openssl fails:

RUSTFLAGS='-C target-feature=+crt-static' cargo build --release
.
.
error: failed to run custom build command for `openssl-sys v0.9.72`
.
thread 'main' panicked at 'don't know how to configure OpenSSL for x86_64-unknown-haiku', /boot/home/.cargo/registry/src/git.luolix.top-1ecc6292.../openssl-src-111.17.0+1.1.1m/src/lib/rs:283:18
pkg-config openssl --static --libs --cflags
-I/packages/openssl-1.1.1m-1/.self/develop/headers -L/packages/openssl-1.1.1m-1/.self/develop/lib -lssl -lcrypto -lnetwork
@kallisti5
Copy link
Contributor Author

resolved via PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant