File tree Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Expand file tree Collapse file tree 1 file changed +3
-3
lines changed Original file line number Diff line number Diff line change @@ -23,17 +23,17 @@ If you are using SQLCipher in your own software please let us know at support@ze
23
23
Building SQLite Cipher is almost the same as compiling a regular version of SQLite with three small exceptions:
24
24
25
25
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
27
27
3. You need to link against a OpenSSL's libcrypto with sha256 support compiled in
28
28
29
29
Example Static linking (replace /opt/local/lib with the path to libcrypto.a)
30
30
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"
32
32
make
33
33
34
34
Example Dynamic linking
35
35
36
- ./configure CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
36
+ ./configure --enable-tempstore=yes CFLAGS="-DSQLITE_HAS_CODEC" LDFLAGS="-lcrypto"
37
37
make
38
38
39
39
[Encrypting a database]
You can’t perform that action at this time.
0 commit comments