Closed aywengo closed 2 years ago
If you want to build your own C libraries, you're going to have to make sure that cross-compilation is configured correctly, including finding the correct copy of OpenSSL.
In general, updating rust-musl-builder
to support cross-compiling a new C library is a fairly significant effort, and it generally requires a solid afternoon of work (and sometimes bug reports to the upstream C and Rust authors). As a general rule, I don't have enough time to do this for libraries that I don't use. I wish I could help you more here, but I'm unlikely to ever find the time to investigate mongoc-sys
.
If somebody else wants to figure out how to make this work, I will be happy to review a PR. But I am unlikely to work on it myself for the foreseeable future.
What did you try to do?
I tried to include mongoc-sys to dependencies.
What happened?
The build is failed with the following:
What did you hope to happen? Successful build.