Skip to content

armgit / zed

Public Imported from GitHub
0

Code at the speed of thought – Zed is a high-performance, multiplayer code editor from the creators of Atom and Tree-sitter.

Weakly link ReplayKit to ensure this library can be used on macOS 10.15

Antonio Scandurrac183e854d769
diff --git a/crates/live_kit_client/build.rs b/crates/live_kit_client/build.rs
index bceb4fb927d..d9430736ad2 100644
--- a/crates/live_kit_client/build.rs
+++ b/crates/live_kit_client/build.rs
@@ -44,6 +44,9 @@ fn main() {
// Register exported Objective-C selectors, protocols, etc when building example binaries.
println!("cargo:rustc-link-arg=-Wl,-ObjC");
+
+ // Weakly link ReplayKit to ensure this library can be used on macOS 10.15+.
+ println!("cargo:rustc-link-arg=-Wl,-weak_framework ReplayKit");
}
}