Skip to content

Commit c27e6e1

Browse files
committed
Build encryption with LIBSQL_ENCRYPTION flag
1 parent 440ca08 commit c27e6e1

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

libsql-ffi/build.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -494,6 +494,7 @@ fn build_multiple_ciphers(out_path: &Path) -> PathBuf {
494494
if cfg!(feature = "wasmtime-bindings") {
495495
config.define("LIBSQL_ENABLE_WASM_RUNTIME", "1");
496496
}
497+
config.define("LIBSQL_ENCRYPTION", "1");
497498

498499
if cfg!(feature = "session") {
499500
config

libsql-ffi/bundled/SQLite3MultipleCiphers/CMakeLists.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -124,6 +124,7 @@ set(SQLITE3MC_BASE_DEFINITIONS
124124
$<$<BOOL:${LIBSQL_ENABLE_WASM_RUNTIME}>:LIBSQL_ENABLE_WASM_RUNTIME=1>
125125
LIBSQL_EXTRA_PRAGMAS=1
126126
LIBSQL_CUSTOM_PAGER_CODEC=1
127+
LIBSQL_ENCRYPTION=1
127128

128129
SQLITE_ENABLE_DBSTAT_VTAB=1
129130
SQLITE_ENABLE_DBPAGE_VTAB=1

0 commit comments

Comments
 (0)