From e47d09e2422450bb299846d0a817d9ebe196100a Mon Sep 17 00:00:00 2001 From: zebrapurring <103900164+zebrapurring@users.noreply.github.com> Date: Mon, 23 Jun 2025 17:14:01 +0200 Subject: [PATCH] feat: add support for FreeBSD (#83) * feat: add support for FreeBSD --------- Co-authored-by: zebrapurring <> Co-authored-by: 0x676e67 --- boring-sys/build/main.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/boring-sys/build/main.rs b/boring-sys/build/main.rs index 413a960f..7b427223 100644 --- a/boring-sys/build/main.rs +++ b/boring-sys/build/main.rs @@ -650,7 +650,7 @@ fn get_cpp_runtime_lib(config: &Config) -> Option { // TODO(rmehra): figure out how to do this for windows if env::var_os("CARGO_CFG_UNIX").is_some() { match env::var("CARGO_CFG_TARGET_OS").unwrap().as_ref() { - "macos" | "ios" => Some("c++".into()), + "macos" | "ios" | "freebsd" => Some("c++".into()), _ => Some("stdc++".into()), } } else {