From 0fe972970ee6abc45a860f75998c53f31a78d3f3 Mon Sep 17 00:00:00 2001 From: Douglas Dwyer Date: Sat, 21 Oct 2023 21:23:29 -0400 Subject: [PATCH] Update build.rs --- build.rs | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/build.rs b/build.rs index b44a539b..76f9c70b 100644 --- a/build.rs +++ b/build.rs @@ -1,5 +1,7 @@ fn main() { - if std::env::var("CARGO_CFG_FUZZING").is_ok() && std::env::var("CARGO_CFG_TARGET_OS").as_deref() == Ok("macos") { + if std::env::var("CARGO_CFG_FUZZING").is_ok() + && std::env::var("CARGO_CFG_TARGET_OS").as_deref() == Ok("macos") + { println!("cargo:rustc-cdylib-link-arg=-undefined"); println!("cargo:rustc-cdylib-link-arg=dynamic_lookup"); }