diff --git a/Cargo.toml b/Cargo.toml index 56c4d9df4..2b684ac9b 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -17,7 +17,7 @@ num-derive = "0.3" num-traits = "0.2" thiserror = "1.0.30" wasmedge-macro.workspace = true -wasmedge-sys = { path = "crates/wasmedge-sys", version = "0.17", default-features = false } +wasmedge-sys = { path = "crates/wasmedge-sys", version = "0.17.4", default-features = false } wasmedge-types.workspace = true [workspace.dependencies] diff --git a/crates/wasmedge-sys/build.rs b/crates/wasmedge-sys/build.rs index 5de4ddcf7..f7a60a80c 100644 --- a/crates/wasmedge-sys/build.rs +++ b/crates/wasmedge-sys/build.rs @@ -98,7 +98,7 @@ fn main() { // Tell cargo to tell rustc to link our `wasmedge` library. Cargo will // automatically know it must look for a `libwasmedge.a` file. println!("cargo:rustc-link-lib=static=wasmedge"); - for dep in ["rt", "dl", "pthread", "m", "stdc++"] { + for dep in ["rt", "dl", "pthread", "m", "zstd", "stdc++"] { link_lib(dep); } } else {