mirror of
https://git.freebsd.org/ports.git
synced 2025-06-06 21:30:31 -04:00
RingRTC is a middleware library providing Signal Messenger applications with video and voice calling services built on top of WebRTC. WWW: https://github.com/signalapp/ringrtc
13 lines
572 B
Rust
13 lines
572 B
Rust
--- build.rs.orig 2021-03-15 17:47:59 UTC
|
|
+++ build.rs
|
|
@@ -21,7 +21,9 @@ fn main() {
|
|
println!("cargo:rustc-link-search=native=../../src/webrtc/src/out/Release/obj/",);
|
|
}
|
|
|
|
- if cfg!(target_os = "macos") {
|
|
+ if cfg!(target_os = "freebsd") {
|
|
+ println!("cargo:rustc-link-lib=dylib=c++");
|
|
+ } else if cfg!(target_os = "macos") {
|
|
println!("cargo:rustc-link-lib=dylib=c++");
|
|
println!("cargo:rustc-link-lib=framework=Foundation");
|
|
println!("cargo:rustc-link-lib=framework=CoreAudio");
|