diff options
author | Andrey Cherkashin <148123+andoriyu@users.noreply.github.com> | 2021-04-18 16:13:04 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-04-18 16:13:04 -0700 |
commit | ab89938c90f04edd36b4fbda9710b66554aa70d3 (patch) | |
tree | 701417695711694a165fc1a27480013c6b51e395 | |
parent | f6b3a7445b42fb064ea10c857f744798c048f87a (diff) | |
download | rust-libzfs-ab89938c90f04edd36b4fbda9710b66554aa70d3.zip |
Link linux-compat library on freebsd
-rw-r--r-- | zfs-core-sys/build.rs | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/zfs-core-sys/build.rs b/zfs-core-sys/build.rs index da353d9..4a665d0 100644 --- a/zfs-core-sys/build.rs +++ b/zfs-core-sys/build.rs @@ -8,4 +8,7 @@ fn main() { } println!("cargo:rustc-link-lib=nvpair"); + if cfg!(target_os="freebsd") { + println!("cargo:rustc-link-lib=zutil"); + }; } |