From 12d47c252b73ca1871e349e50ba48db255148740 Mon Sep 17 00:00:00 2001 From: Thibault Payet Date: Sun, 22 Sep 2019 21:41:21 +0200 Subject: [PATCH] Fix linking on FreeBSD --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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"); }