Closed bomgar closed 6 years ago
@bomgar Could you please run ./test-image.sh
for me with these options and verify that it works correctly? Thank you!
Also, if you're feeling really ambitious, feel free to add another short test program to examples/
which triggers this case, and to add code to ./test-image.sh
to build it and make sure it's statically linked. This isn't necessarily—I'll accept the PR without it—but it would greatly reduce the chance that I accidentally break this functionality in the future. Thank you for considering it!
test-image
works. I will add a demo project.
The test now uses the code @mriehl suggested.
It might be a good idea to let travis execute the test-image script.
Travis works https://travis-ci.org/bomgar/rust-musl-builder/
https://github.com/emk/rust-musl-builder/pull/41 there you go
libz-sys uses these options https://github.com/alexcrichton/libz-sys/blob/8eb6f9e8f45cef71f8a3fa94d849ac54a263c090/build.rs#L52