mirror of
https://github.com/deepseek-ai/deepseek-recipe.git
synced 2026-10-26 16:55:05 +00:00
Co-authored-by: xinchengxx <xinchengxx@deepseek.com> Co-authored-by: XieJiSS <xiejiss@deepseek.com> Co-authored-by: yqaty <jiayu@deepseek.com> Co-authored-by: zhu-he <hezhu@deepseek.com> Co-authored-by: season-guo <seasonguo@deepseek.com>
9 lines
314 B
Rust
9 lines
314 B
Rust
//! Configure native library linking for Python wheels.
|
|
|
|
fn main() {
|
|
if std::env::var("CARGO_CFG_TARGET_OS").as_deref() == Ok("macos") {
|
|
// Wheel repair writes longer dependency paths into Mach-O load commands.
|
|
println!("cargo::rustc-link-arg-cdylib=-Wl,-headerpad_max_install_names");
|
|
}
|
|
}
|