dlecan / rust-crosscompiler-arm

Docker images for Rust dedicated to cross compilation for ARM v6 and more
MIT License
50 stars 16 forks source link

Compiling openssl-sys aborts when cross compiling #11

Closed SuperFluffy closed 6 years ago

SuperFluffy commented 6 years ago

When compiling the openssl-sys crate, compilation aborts with an error described in this issue: https://github.com/sfackler/rust-openssl/issues/621

The solution is to set the environment variable PKG_CONFIG_ALLOW_CROSS=1, as described in the error message (see the issue above).