mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-25 21:11:00 +00:00
ndi: provide Unix fallback after 3fe9e4a207
error[E0425]: cannot find value `LIBRARY_NAME` in this scope --> net/ndi/src/ndisys.rs:336:23 | 336 | path.push(LIBRARY_NAME); | ^^^^^^^^^^^^ not found in this scope error[E0425]: cannot find value `LIBRARY_NAME` in this scope --> net/ndi/src/ndisys.rs:339:33 | 339 | path::PathBuf::from(LIBRARY_NAME) | ^^^^^^^^^^^^ not found in this scope
This commit is contained in:
parent
7ac29827d2
commit
9aeaac5a96
1 changed files with 2 additions and 0 deletions
|
@ -21,6 +21,8 @@ const LIBRARY_NAME: &str = "Processing.NDI.Lib.x86.dll";
|
|||
const LIBRARY_NAME: &str = "libndi.so.5";
|
||||
#[cfg(target_os = "macos")]
|
||||
const LIBRARY_NAME: &str = "libndi.dylib";
|
||||
#[cfg(all(unix, not(any(target_os = "linux", target_os = "macos"))))]
|
||||
const LIBRARY_NAME: &str = "libndi.so";
|
||||
|
||||
#[allow(clippy::type_complexity)]
|
||||
struct FFI {
|
||||
|
|
Loading…
Reference in a new issue