Skip to content

Apache DataFusion SQL Query Engine

chore: statically link xz2 (#9311)

universalmind30373c08b5045fc
diff --git a/datafusion/core/Cargo.toml b/datafusion/core/Cargo.toml
index 874e455132..506be6667e 100644
--- a/datafusion/core/Cargo.toml
+++ b/datafusion/core/Cargo.toml
@@ -116,7 +116,7 @@ tokio = { workspace = true }
tokio-util = { version = "0.7.4", features = ["io"], optional = true }
url = { workspace = true }
uuid = { version = "1.0", features = ["v4"] }
-xz2 = { version = "0.1", optional = true }
+xz2 = { version = "0.1", optional = true, features = ["static"] }
zstd = { version = "0.13", optional = true, default-features = false }
[dev-dependencies]