fix(node): statically link lzma (#961)

Fixes #956

Same changes as https://github.com/lancedb/lance/pull/1934
This commit is contained in:
Will Jones
2024-02-12 10:07:09 -08:00
committed by GitHub
parent 7e50c239eb
commit 0c21f91c16
2 changed files with 6 additions and 0 deletions

View File

@@ -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"

View File

@@ -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"] }