litellm/litellm-rust/crates/python-bridge/build.rs
Yujong Lee a448c7da9c fix(gateway): pass the config environment to every env reader
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-10-22 17:21:07 -07:00

7 lines
333 B
Rust

#![allow(clippy::disallowed_methods)] // test and build tooling read their own settings from the process environment
fn main() {
if 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");
}
}