summarylogtreecommitdiffstats
path: root/001-zstd-linking.patch
blob: 354064c4245a11314fc145c82b02cce9e97e779f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff --git a/userspace/ksud/build.rs b/userspace/ksud/build.rs
index 021418ac..8a16bff8 100644
--- a/userspace/ksud/build.rs
+++ b/userspace/ksud/build.rs
@@ -34,6 +34,7 @@ fn get_git_version() -> Result<(u32, String), std::io::Error> {
 }
 
 fn main() {
+    println!("cargo:rustc-link-lib=zstd"); 
     let (code, name) = match get_git_version() {
         Ok((code, name)) => (code, name),
         Err(_) => {