Hey there.
I need to generate libsqlcipher.a so we can include it in our Kotlin Multiplatform project.
We don’t want to use Cocoapods because of the overhead so I am trying to get this to work.
I have tried many things and nothing seems to work.
I have installed openssl using homebrew.
Keep getting ‘Library crypto not found. Install openssl!"’ whenever I run this command:
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC -I/usr/local/opt/openssl@3/include/" LDFLAGS="-L/usr/local/opt/openssl@3/lib/libcrypto.a"
According to the documentation to make the static library I should just run:
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC"
LDFLAGS="-L/usr/local/opt/openssl@3/lib/libcrypto.a"
make
Running this I get “make: Nothing to be done for `all’.”
Would really appreciate any help with this issue.
If I need to provide some more info I can
Thanks!