Skip to content

Instantly share code, notes, and snippets.

@billymeltdown
Created February 24, 2015 21:11
Show Gist options
  • Save billymeltdown/406a0a7ec72286113941 to your computer and use it in GitHub Desktop.
Save billymeltdown/406a0a7ec72286113941 to your computer and use it in GitHub Desktop.
Building SQLCipher CLI
cc -framework Security \
-mmacosx-version-min=10.7 \
-I${SQLCIPHER_DIR} \
-o ./sqlcipher ${SQLCIPHER_DIR}/src/shell.c \
/path/to/libsqlcipher.a
@billymeltdown
Copy link
Author

Where $SQLCIPHER_DIR is the path to the sources used to build the static library (in this case). Assumes you've already used configure and make—or used Xcode—to build libsqlcipher.a.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment