8000 clarify build with temp store options · githubzhaoliang/sqlcipher@d6d6406 · GitHub
[go: up one dir, main page]

Skip to content

Commit d6d6406

Browse files
committed
clarify build with temp store options
1 parent c45622d commit d6d6406

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

README

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,17 @@ If you are using SQLCipher in your own software please let us know at support@ze
2323
Building SQLite Cipher is almost the same as compiling a regular version of SQLite with three small exceptions:
2424

2525
1. building via 'amalgamation' isn't supported (where all sqlite source is merged into one file)
26-
2. you must define SQLITE_HAS_CODEC
26+
2. you must define SQLITE_HAS_CODEC and SQLITE_TEMP_STORE=2 in your application when including SQLCipher
2727
3. You need to link against a OpenSSL's libcrypto with sha256 support compiled in
2828

2929
Example Static linking (replace /opt/local/lib with the path to libcrypto.a)
3030

31-
./configure CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="/opt/local/lib/libcrypto.a"
31+
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="/opt/local/lib/libcrypto.a"
3232
make
3333

3434
Example Dynamic linking
3535

36-
./configure CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
36+
./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
3737
make
3838

3939
[Encrypting a database]

0 commit comments

Comments
 (0)
0