From 0a360de32029fc8e750c9d1bc858c989f4cd83e0 Mon Sep 17 00:00:00 2001 From: soryu Date: Mon, 23 Feb 2026 18:01:12 +0000 Subject: fix: install ARM64 OpenSSL headers for cross-compilation Add dpkg --add-architecture arm64 and libssl-dev:arm64 to the Linux ARM64 build step so openssl-sys can find the cross-compilation headers. Co-Authored-By: Claude Opus 4.6 --- .github/workflows/release.yml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/.github/workflows/release.yml b/.github/workflows/release.yml index 218205a..418b91a 100644 --- a/.github/workflows/release.yml +++ b/.github/workflows/release.yml @@ -51,7 +51,9 @@ jobs: - name: Install cross-compilation tools (Linux ARM64) if: matrix.target == 'aarch64-unknown-linux-gnu' run: | - sudo apt-get install -y gcc-aarch64-linux-gnu + sudo dpkg --add-architecture arm64 + sudo apt-get update + sudo apt-get install -y gcc-aarch64-linux-gnu libssl-dev:arm64 echo "CARGO_TARGET_AARCH64_UNKNOWN_LINUX_GNU_LINKER=aarch64-linux-gnu-gcc" >> $GITHUB_ENV echo "PKG_CONFIG_SYSROOT_DIR=/usr/aarch64-linux-gnu" >> $GITHUB_ENV -- cgit v1.2.3