summaryrefslogtreecommitdiff
path: root/zfs-core-sys/build.rs
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2022-03-06 06:04:19 +0000
committerGitHub <noreply@github.com>2022-03-06 06:04:19 +0000
commit2d9b97f220926d95d91a187fbce1d61b8c2209c8 (patch)
tree5abeae23af3751bafab243b8cb3f69fbf2a9afa6 /zfs-core-sys/build.rs
parent1d6bc9e400d96c2c41049b27ff33283dea0fa5d0 (diff)
parent4b10fdff1d8260696cf6a5a55b17c7e23cba7e78 (diff)
downloadrust-libzfs-2d9b97f220926d95d91a187fbce1d61b8c2209c8.zip
Merge #107master
107: Workaround for missing libs on freebsd 13 r=jmesmon a=fabiojmendes This pull request fixes linking issues on downstream libs on FreeBSD 13. See [libzetta-rs #166](https://github.com/Inner-Heaven/libzetta-rs/issues/166) for details. I also updated the url for grcov binary so the workflows will run. Hopefully this workaround can be removed once this [issue is fixed](https://github.com/Inner-Heaven/libzetta-rs/issues/166#issuecomment-1057534021) on FreeBSD side. Co-authored-by: Fabio Mendes <fabiojmendes@gmail.com>
Diffstat (limited to 'zfs-core-sys/build.rs')
-rw-r--r--zfs-core-sys/build.rs1
1 files changed, 1 insertions, 0 deletions
diff --git a/zfs-core-sys/build.rs b/zfs-core-sys/build.rs
index cdce9e9..e82f09d 100644
--- a/zfs-core-sys/build.rs
+++ b/zfs-core-sys/build.rs
@@ -114,5 +114,6 @@ fn main() {
println!("cargo:rustc-link-lib=nvpair");
if target_os == "freebsd" {
println!("cargo:rustc-link-lib=dylib:-as-needed=zutil");
+ println!("cargo:rustc-link-lib=dylib:-as-needed=spl");
}
}