summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrey Cherkashin <148123+andoriyu@users.noreply.github.com>2021-04-24 21:01:42 -0700
committerGitHub <noreply@github.com>2021-04-24 21:01:42 -0700
commitf185d714d36eb9c0618ec0c3818d9e23d5a11d38 (patch)
tree6f90395a5a3511501fe80cd9dcf696815265fb00
parentf49b1093ef849026d6e0b4cbb867adafbdd46cd3 (diff)
downloadrust-libzfs-f185d714d36eb9c0618ec0c3818d9e23d5a11d38.zip
Update build.rs
-rw-r--r--nvpair-sys/build.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/nvpair-sys/build.rs b/nvpair-sys/build.rs
index 155c74e..885fe37 100644
--- a/nvpair-sys/build.rs
+++ b/nvpair-sys/build.rs
@@ -4,7 +4,7 @@ fn main() {
// `aok`, which is in `libzfs`.
println!("cargo:rustc-link-lib=zfs");
// nvpair uses functions from libspl on FreeBSD
- if cfg!(target_os="freebsd") {
- println!("cargo:rustc-link-lib=spl");
+ if cfg!(target_os = "freebsd") {
+ println!("cargo:rustc-link-lib=spl");
};
}