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

libraries w/ c dependecies don't compile inside musl builder #52

Closed
Licenser opened this issue Jun 27, 2018 · 1 comment
Closed

libraries w/ c dependecies don't compile inside musl builder #52

Licenser opened this issue Jun 27, 2018 · 1 comment

Comments

@Licenser
Copy link

I'm not sure where to exactly open this so I'll link it here too: fede1024/rust-rdkafka#88

@emk
Copy link
Owner

emk commented Jul 6, 2018

Unfortunately, you'll need to compile the C libraries you need using musl-gcc, being careful to set up all the necessary flags. You may also need to tweak the Rust crate in some cases. There's no way to automate this; statically building C libraries will require getting your hands dirty.

See https://github.com/emk/rust-musl-builder#adding-more-c-libraries for some notes and for an example of how to add a new C library.

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

2 participants