Update cross-compile config to properly install openssl stuff

This is based on the recipe in Cross wiki[^1] and seems to work

[^1]: https://github.com/cross-rs/cross/wiki/Recipes#pre-build
This commit is contained in:
Aleksei Voronov 2023-11-29 11:08:17 +01:00
parent 3f979af5d8
commit 635e8506c6
1 changed files with 4 additions and 1 deletions

View File

@ -2,4 +2,7 @@
default-target = "x86_64-unknown-linux-gnu" default-target = "x86_64-unknown-linux-gnu"
[target.x86_64-unknown-linux-gnu] [target.x86_64-unknown-linux-gnu]
pre-build = ["apt-get install --assume-yes libssl-dev"] pre-build = [
"dpkg --add-architecture $CROSS_DEB_ARCH",
"apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH"
]