Support legacy Intel macOS loaders

This commit is contained in:
2026-07-17 18:51:31 -05:00
parent 0662bfe52d
commit 28b3ac266b
4 changed files with 24 additions and 2 deletions
+3
View File
@@ -72,6 +72,7 @@ jobs:
OPENSSL_VERSION: 3.5.7
OPENSSL_TARGET: ${{ matrix.openssl_target }}
CROSS_PREFIX: ${{ matrix.cross_prefix }}
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.target == 'macos-amd64' && '10.5' || '' }}
run: |
curl --fail --location --retry 3 \
"https://www.openssl.org/source/openssl-${OPENSSL_VERSION}.tar.gz" \
@@ -105,6 +106,8 @@ jobs:
- name: Build macOS executable with static OpenSSL
if: startsWith(matrix.target, 'macos-')
env:
MACOSX_DEPLOYMENT_TARGET: ${{ matrix.target == 'macos-amd64' && '10.5' || '' }}
run: |
OPENSSL_LIBDIR="$(find "$GITHUB_WORKSPACE/openssl-static" -type f -name libssl.a -exec dirname {} \;)"
make "${{ matrix.target }}" \