Skip to content

Commit

Permalink
try another github action tweak
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Jul 20, 2024
1 parent 999c9ff commit 216caf7
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 4 deletions.
5 changes: 2 additions & 3 deletions .github/workflows/release-swift-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
4 changes: 3 additions & 1 deletion bindings_ffi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 216caf7

Please sign in to comment.