Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Auto merge of #2005 - operutka:fix-uclibc-dependencies, r=Amanieu
Fix missing dl lib on armv5te-unknown-linux-uclibceabi I'm unable to link my executable for the Linux uClibc environment because of some missing symbols from the dl lib: ``` /home/operutka/goodcam/goodcam-server/target/armv5te-unknown-linux-uclibceabi/release/deps/goodcam_server-aefb92c403e8cd55.goodcam_server.dzc3futp-cgu.0.rcgu.o: In function `mio::sys::unix::dlsym::fetch::he5e2964820cfd29d': goodcam_server.dzc3futp-cgu.0:(.text._ZN3mio3sys4unix5dlsym5fetch17he5e2964820cfd29dE+0x30): undefined reference to `dlsym' /home/operutka/goodcam/goodcam-server/target/armv5te-unknown-linux-uclibceabi/release/deps/goodcam_server-aefb92c403e8cd55.goodcam_server.dzc3futp-cgu.0.rcgu.o: In function `std::sys::unix::weak::fetch::h5ed4b0fa5792ef5c': goodcam_server.dzc3futp-cgu.0:(.text._ZN3std3sys4unix4weak5fetch17h5ed4b0fa5792ef5cE+0x3c): undefined reference to `dlsym' ``` The libc crate is being used at both of these points. This change fixes the issue for me. I've tested it with two different GCC cross toolchains for armv5te and it seems to be OK. _Note: I'm building my own std using the unstable build-std Cargo feature._
- Loading branch information