diff --git a/Cross.toml b/Cross.toml index 945834dd..cb732fa5 100644 --- a/Cross.toml +++ b/Cross.toml @@ -9,4 +9,11 @@ pre-build = [ "apt install -y gcc-10 g++-10", "update-alternatives --install /usr/bin/gcc gcc /usr/bin/gcc-10 10", "update-alternatives --install /usr/bin/g++ g++ /usr/bin/g++-10 10" +] + +[target.aarch64-unknown-linux-gnu] +pre-build = [ + "export DEBIAN_FRONTEND=noninteractive", + "dpkg --add-architecture $CROSS_DEB_ARCH", + "apt-get update -q && apt-get install --assume-yes --no-install-recommends libssl-dev:$CROSS_DEB_ARCH pkg-config", ] \ No newline at end of file