diff --git a/Cross.toml b/Cross.toml index acbc7ef..de4c8eb 100644 --- a/Cross.toml +++ b/Cross.toml @@ -2,4 +2,7 @@ default-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" +]