Files
TS3-vibed/client_node/build.rs
2026-05-10 23:56:54 +02:00

18 lines
780 B
Rust

fn main() {
#[cfg(feature = "webrtc")]
{
// On Fedora/Bazzite, we need to explicitly link the system's Abseil libraries
// because the 'bundled' WebRTC build might still reference them if they are
// found on the system during the build process, or if the crate's build
// script is incorrectly configured for this distro.
println!("cargo:rustc-link-search=native=/usr/lib64");
// We link the core string and number utilities where the missing symbols live.
println!("cargo:rustc-link-lib=absl_strings");
println!("cargo:rustc-link-lib=absl_str_format_internal");
println!("cargo:rustc-link-lib=absl_int128");
println!("cargo:rustc-link-lib=absl_throw_delegate");
}
}