diff --git a/build.rs b/build.rs index f8df6f92..79b07943 100644 --- a/build.rs +++ b/build.rs @@ -1,4 +1,4 @@ fn main() { - #[cfg(target_os="openbsd")] + #[cfg(any(target_os="openbsd", target_os="freebsd"))] println!(r"cargo:rustc-link-search=/usr/local/lib"); }