Skip to content

Commit b5daace

Browse files
authored
Fix static build to link agains zstd (#91)
Signed-off-by: Jorge Prendes <[email protected]>
1 parent c99e30d commit b5daace

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ num-derive = "0.3"
1717
num-traits = "0.2"
1818
thiserror = "1.0.30"
1919
wasmedge-macro.workspace = true
20-
wasmedge-sys = { path = "crates/wasmedge-sys", version = "0.17", default-features = false }
20+
wasmedge-sys = { path = "crates/wasmedge-sys", version = "0.17.4", default-features = false }
2121
wasmedge-types.workspace = true
2222

2323
[workspace.dependencies]

crates/wasmedge-sys/build.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -98,7 +98,7 @@ fn main() {
9898
// Tell cargo to tell rustc to link our `wasmedge` library. Cargo will
9999
// automatically know it must look for a `libwasmedge.a` file.
100100
println!("cargo:rustc-link-lib=static=wasmedge");
101-
for dep in ["rt", "dl", "pthread", "m", "stdc++"] {
101+
for dep in ["rt", "dl", "pthread", "m", "zstd", "stdc++"] {
102102
link_lib(dep);
103103
}
104104
} else {

0 commit comments

Comments
 (0)