Skip to content

Commit 7a9e683

Browse files
Clarify SQLCIPHER_CFLAGS is an optional build environment variable
1 parent e4eb1a8 commit 7a9e683

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -143,10 +143,11 @@ In order to build `android-database-sqlcipher` from source you will need both th
143143
SQLCIPHER_ROOT=/some/path/to/sqlcipher-folder \
144144
OPENSSL_ROOT=/some/path/to/openssl-folder \
145145
SQLCIPHER_ANDROID_VERSION="4.4.3" \
146-
SQLCIPHER_CFLAGS="-DSQLITE_HAS_CODEC" \
147146
make build-release
148147
```
149148

149+
You may also optionally include `SQLCIPHER_CFLAGS` to override the default features SQLCipher core is compiled with. If `SQLCIPHER_CFLAGS` is defined, make sure `-DSQLITE_HAS_CODEC` is included in the list of flags.
150+
150151
### License
151152

152153
The Android support libraries are licensed under Apache 2.0, in line with the Android OS code on which they are based. The SQLCipher code itself is licensed under a BSD-style license from Zetetic LLC. Finally, the original SQLite code itself is in the public domain.

0 commit comments

Comments
 (0)