summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRyan Goodfellow <ryan.goodfellow@oxide.computer>2021-08-25 10:36:09 -0700
committerRyan Goodfellow <ryan.goodfellow@oxide.computer>2021-08-25 10:43:40 -0700
commite79f612c116eb752827d0a7f581b99eab288d709 (patch)
tree82b5aee20b051fe27c0a97c4a0260ac6b398026b
parent7da80fa5a5bc824ec7b2885167adf3c511e1ac52 (diff)
downloadrust-libzfs-e79f612c116eb752827d0a7f581b99eab288d709.zip
remove native from cargo:rustc-link-lib
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.
-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");
}
}