mirror of
https://github.com/zed-industries/zed.git
synced 2025-01-08 18:41:48 +00:00
Weakly link ReplayKit to ensure this library can be used on macOS 10.15
This commit is contained in:
parent
1d6af4cf20
commit
c183e854d7
1 changed files with 3 additions and 0 deletions
|
@ -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");
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue