summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorbors[bot] <26634292+bors[bot]@users.noreply.github.com>2021-09-01 20:32:41 +0000
committerGitHub <noreply@github.com>2021-09-01 20:32:41 +0000
commita540f1e5082944c2bcfa8fbf4f8bc32778dd899c (patch)
tree82b5aee20b051fe27c0a97c4a0260ac6b398026b
parent7da80fa5a5bc824ec7b2885167adf3c511e1ac52 (diff)
parente79f612c116eb752827d0a7f581b99eab288d709 (diff)
downloadrust-libzfs-a540f1e5082944c2bcfa8fbf4f8bc32778dd899c.zip
Merge #71
71: remove native from cargo:rustc-link-lib r=jmesmon a=rcgoodfellow `native` is only defined for `rustc-link-search` https://doc.rust-lang.org/cargo/reference/build-scripts.html#rustc-link-lib Having it present in `rustc-link-lib` results in build errors. Co-authored-by: Ryan Goodfellow <ryan.goodfellow@oxide.computer>
-rw-r--r--zfs-core-sys/build.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/zfs-core-sys/build.rs b/zfs-core-sys/build.rs
index 3b80d27..cdce9e9 100644
--- a/zfs-core-sys/build.rs
+++ b/zfs-core-sys/build.rs
@@ -97,7 +97,7 @@ fn main() {
if let Some(v) = lzc_libdir {
println!("cargo:rustc-link-search=native={}", v.to_str().unwrap());
}
- println!("cargo:rustc-link-lib=native=zfs_core");
+ println!("cargo:rustc-link-lib=zfs_core");
}
}