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 Weston Pace
parent da47938a43
commit 88205aba64
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"