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
10 lines
585 B
Rust
10 lines
585 B
Rust
--- cargo-crates/neon-0.9.1/src/lib.rs.orig 2021-03-15 17:51:55 UTC
|
|
+++ cargo-crates/neon-0.9.1/src/lib.rs
|
|
@@ -104,6 +104,7 @@ macro_rules! register_module {
|
|
($module:pat, $init:block) => {
|
|
// Mark this function as a global constructor (like C++).
|
|
#[allow(improper_ctypes)]
|
|
+ #[cfg_attr(target_os = "freebsd", link_section = ".ctors")]
|
|
#[cfg_attr(target_os = "linux", link_section = ".ctors")]
|
|
#[cfg_attr(target_os = "android", link_section = ".ctors")]
|
|
#[cfg_attr(target_os = "macos", link_section = "__DATA,__mod_init_func")]
|