Join GitHub today
GitHub is home to over 28 million developers working together to host and review code, manage projects, and build software together.Sign up
When compiling the libc crate with musl, don't look for libc.a #26302
musl may not be available on the target user's machine, and even if it is, we may not be able to find it because of how static libraries are searched for.
To be honest, my brain is bending a bit at this point and I wonder if I'm doing something a bit stupid.
Problem: building the libc crate with target musl. It says "could not find native static library
Some pondering: the key problem is the way static archives are searched for (note that a musl build attempts to statically link to libc) - they aren't. There are three locations which are checked (including
This patch allows
Sorry for the rambling.
added a commit
this pull request
Jun 15, 2015
On Mon, Jun 15, 2015 at 9:00 AM, bors firstname.lastname@example.org wrote: