Merge pull request #1441 from GiGainfosystems/feature/expose_include_dir

Expose the include directory of the bundled sqlite version
This commit is contained in:
gwenn 2024-01-25 18:45:00 +01:00 committed by GitHub
commit 42a82fb058
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -114,6 +114,7 @@ mod build_bundled {
{
super::copy_bindings(lib_name, "bindgen_bundled_version", out_path);
}
println!("cargo:include={}/{lib_name}", env!("CARGO_MANIFEST_DIR"));
println!("cargo:rerun-if-changed={lib_name}/sqlite3.c");
println!("cargo:rerun-if-changed=sqlite3/wasm32-wasi-vfs.c");
let mut cfg = cc::Build::new();