Created
February 24, 2015 21:11
-
-
Save billymeltdown/406a0a7ec72286113941 to your computer and use it in GitHub Desktop.
Building SQLCipher CLI
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
cc -framework Security \ | |
-mmacosx-version-min=10.7 \ | |
-I${SQLCIPHER_DIR} \ | |
-o ./sqlcipher ${SQLCIPHER_DIR}/src/shell.c \ | |
/path/to/libsqlcipher.a |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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 buildlibsqlcipher.a
.