Skip to content

Commit

Permalink
more tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
nplasterer committed Jul 20, 2024
1 parent c2f50ba commit 999c9ff
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
7 changes: 5 additions & 2 deletions .github/workflows/release-swift-bindings.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,11 +38,14 @@ jobs:
cargo install cross --git https://github.com/cross-rs/cross
- name: Install OpenSSL
run: |
brew install openssl
working-directory: bindings_ffi
run: brew install openssl@3

- 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: |
make download-sqlcipher
make build-sqlcipher
Expand Down
2 changes: 1 addition & 1 deletion bindings_ffi/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ install-openssl:

build-sqlcipher: install-openssl
cd $(SQLCIPHER_DIR) && \
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-L/usr/local/opt/openssl/lib" CPPFLAGS="-I/usr/local/opt/openssl/include" && \
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-L/usr/local/opt/openssl@3/lib" CPPFLAGS="-I/usr/local/opt/openssl@3/include" && \
make

all: framework
Expand Down

0 comments on commit 999c9ff

Please sign in to comment.