Fix missing symbols in static sqlcipher aarch64 build

This commit is contained in:
Michael Telatynski 2023-04-13 21:35:47 +01:00
parent 4e0b8c4325
commit 0c09fa69e1
No known key found for this signature in database
GPG key ID: A2B008A5F49F5D0D
2 changed files with 1 additions and 5 deletions

View file

@ -79,11 +79,6 @@ jobs:
matrix:
sqlcipher: [system, static]
arch: [amd64, arm64]
exclude:
# FIXME: This combination yields a broken Seshat at this time
# Errors at launch with `undefined symbol: PKCS5_PBKDF2_HMAC
- arch: arm64
sqlcipher: static
with:
config: ${{ github.event.pull_request.base.ref == 'develop' && 'element.io/nightly' || 'element.io/release' }}
sqlcipher: ${{ matrix.sqlcipher }}

View file

@ -84,6 +84,7 @@ jobs:
if: inputs.sqlcipher == 'static'
run: |
echo "SQLCIPHER_STATIC=1" >> $GITHUB_ENV
echo "LDFLAGS=-lcrypto" >> $GITHUB_ENV
# Ideally the docker image would be ready for cross-compilation but libsqlcipher-dev is not Multi-Arch compatible
# https://unix.stackexchange.com/a/349359