]> git.lizzy.rs Git - rust.git/commit
When building libc crate with musl, don't look for libc.a
authorAidan Hobson Sayers <aidanhs@cantab.net>
Sun, 14 Jun 2015 22:55:01 +0000 (23:55 +0100)
committerAidan Hobson Sayers <aidanhs@cantab.net>
Mon, 15 Jun 2015 12:42:18 +0000 (13:42 +0100)
commit52862e4cda1ff72e52dfaea21cf82ae93725b3be
treedf3d3e906d5b1bcdffbf67fd01d48811c5b7b351
parent5ef250427d26af88a23e6e0d19bca00fc72ce2bc
When building libc crate with musl, don't look for libc.a

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.
Instead, use the transitively included liblibc which includes libc.a.
src/liblibc/lib.rs