build.rs

1fn main() {
2    // Find WebRTC.framework as a sibling of the executable when running outside of an application bundle
3    println!("cargo:rustc-link-arg=-Wl,-rpath,@executable_path");
4
5    // Register exported Objective-C selectors, protocols, etc
6    println!("cargo:rustc-link-arg=-Wl,-ObjC");
7}