1diff --git a/Cargo.lock b/Cargo.lock
2index 8833c3e5..0c90d2fe 100644
3--- a/Cargo.lock
4+++ b/Cargo.lock
5@@ -3188,6 +3188,7 @@ dependencies = [
6 "nu_plugin_xpath",
7 "rstest",
8 "serial_test",
9+ "zstd-sys",
10 ]
11
12 [[package]]
13@@ -6954,4 +6955,5 @@ checksum = "615120c7a2431d16cf1cf979e7fc31ba7a5b5e5707b29c8a99e5dbf8a8392a33"
14 dependencies = [
15 "cc",
16 "libc",
17+ "pkg-config",
18 ]
19diff --git a/Cargo.toml b/Cargo.toml
20index 89e8a311..4cc2331a 100644
21--- a/Cargo.toml
22+++ b/Cargo.toml
23@@ -63,6 +63,9 @@ serial_test = "0.5.1"
24 hamcrest2 = "0.3.0"
25 rstest = "0.10.0"
26
27+# Specify that the indirect dependency ztsd-sys should pick up the system zstd C library
28+zstd-sys = { version = "1", features = [ "pkg-config" ] }
29+
30 [build-dependencies]
31
32 [features]