diff --git a/nodejs/Cargo.toml b/nodejs/Cargo.toml index d58fd15d..740e34ef 100644 --- a/nodejs/Cargo.toml +++ b/nodejs/Cargo.toml @@ -23,5 +23,8 @@ napi = { version = "2.15", default-features = false, features = [ ] } napi-derive = "2" +# Prevent dynamic linking of lzma, which comes from datafusion +lzma-sys = { version = "*", features = ["static"] } + [build-dependencies] napi-build = "2.1" diff --git a/rust/ffi/node/Cargo.toml b/rust/ffi/node/Cargo.toml index 7d37f50f..cc1d5deb 100644 --- a/rust/ffi/node/Cargo.toml +++ b/rust/ffi/node/Cargo.toml @@ -31,3 +31,6 @@ object_store = { workspace = true, features = ["aws"] } snafu = { workspace = true } async-trait = "0" env_logger = "0" + +# Prevent dynamic linking of lzma, which comes from datafusion +lzma-sys = { version = "*", features = ["static"] }