From ddc7e77af396926600be8901208a1c1d2253a177 Mon Sep 17 00:00:00 2001 From: maciektr Date: Mon, 30 Oct 2023 13:13:08 +0100 Subject: [PATCH] Configure Cross to install pre-build openssl --- Cross.toml | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 Cross.toml diff --git a/Cross.toml b/Cross.toml new file mode 100644 index 000000000..c972e0d8d --- /dev/null +++ b/Cross.toml @@ -0,0 +1,11 @@ +[target.x86_64-unknown-linux-gnu] +pre-build = [ + "dpkg --add-architecture $CROSS_DEB_ARCH", + "apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH" +] + +[target.aarch64-unknown-linux-gnu] +pre-build = [ + "dpkg --add-architecture $CROSS_DEB_ARCH", + "apt-get update && apt-get install --assume-yes libssl-dev:$CROSS_DEB_ARCH" +]