Skip to content

Commit

Permalink
Merge #71
Browse files Browse the repository at this point in the history
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 <[email protected]>
  • Loading branch information
bors[bot] and rcgoodfellow committed Sep 1, 2021
2 parents 7da80fa + e79f612 commit a540f1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zfs-core-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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");
}
}

Expand Down

0 comments on commit a540f1e

Please sign in to comment.