diff --git a/.github/workflows/release-swift-bindings.yml b/.github/workflows/release-swift-bindings.yml index 1d8ed53e7..d58ae377f 100644 --- a/.github/workflows/release-swift-bindings.yml +++ b/.github/workflows/release-swift-bindings.yml @@ -43,10 +43,9 @@ jobs: - name: Download and build SQLCipher working-directory: bindings_ffi - env: - LDFLAGS: -L/usr/local/opt/openssl@3/lib - CPPFLAGS: -I/usr/local/opt/openssl@3/include run: | + export LDFLAGS="-L/usr/local/opt/openssl@3/lib" + export CPPFLAGS="-I/usr/local/opt/openssl@3/include" make download-sqlcipher make build-sqlcipher diff --git a/bindings_ffi/Makefile b/bindings_ffi/Makefile index 749dd108a..179baebd9 100644 --- a/bindings_ffi/Makefile +++ b/bindings_ffi/Makefile @@ -36,7 +36,9 @@ install-openssl: build-sqlcipher: install-openssl cd $(SQLCIPHER_DIR) && \ - ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-L/usr/local/opt/openssl@3/lib" CPPFLAGS="-I/usr/local/opt/openssl@3/include" && \ + export LDFLAGS="-L/usr/local/opt/openssl@3/lib" && \ + export CPPFLAGS="-I/usr/local/opt/openssl@3/include" && \ + ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" && \ make all: framework