diff options
| author | soryu <soryu@soryu.co> | 2026-02-23 18:01:12 +0000 |
|---|---|---|
| committer | soryu <soryu@soryu.co> | 2026-02-23 18:01:12 +0000 |
| commit | 0a360de32029fc8e750c9d1bc858c989f4cd83e0 (patch) | |
| tree | 662b82ab76ce35e5c7cbd78c34c51a11ec1bdd7f | |
| parent | df5118dae459805d43575a825dbac2c026e9bab1 (diff) | |
| download | soryu-0.2.2.tar.gz soryu-0.2.2.zip | |
fix: install ARM64 OpenSSL headers for cross-compilationv0.2.2
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 <noreply@anthropic.com>
| -rw-r--r-- | .github/workflows/release.yml | 4 |
1 files changed, 3 insertions, 1 deletions
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 |
