Skip to content

Commit 7c55fb0

Browse files
authored
fix: avoid rebuilding libsql-ffi every time when using Multiple Ciphers (#2178)
Fix #2177 When using the Multiple Ciphers extension in libsql, I noticed that it was rebuilding libsql-ffi every time. This fixes the condition in `build.rs` to only check for changes in the Multiple Ciphers source
2 parents a55bf61 + 71906fa commit 7c55fb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

libsql-ffi/build.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ fn main() {
2424
println!("cargo:rerun-if-changed={BUNDLED_DIR}/src/sqlite3.c");
2525

2626
if cfg!(feature = "multiple-ciphers") {
27-
println!("cargo:rerun-if-changed={out_dir}/sqlite3mc/libsqlite3mc_static.a");
27+
println!("cargo:rerun-if-changed={BUNDLED_DIR}/SQLite3MultipleCiphers");
2828
}
2929

3030
if std::env::var("LIBSQL_DEV").is_ok() {

0 commit comments

Comments
 (0)