Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/net/ndi
diff options
context:
space:
mode:
authorJan Beich <jbeich@FreeBSD.org>2022-11-05 05:51:27 +0300
committerJan Beich <jbeich@FreeBSD.org>2022-11-05 05:51:28 +0300
commit9aeaac5a96bfcbba69c3dd911413659f09c71a9e (patch)
tree419d0397a679c7ece2a554d7dccfabefe38a9ef5 /net/ndi
parent7ac29827d2bf1cfa04a362e184def13cff89cc50 (diff)
ndi: provide Unix fallback after 3fe9e4a207f8
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
Diffstat (limited to 'net/ndi')
-rw-r--r--net/ndi/src/ndisys.rs2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/ndi/src/ndisys.rs b/net/ndi/src/ndisys.rs
index 4b062496..d8643d75 100644
--- a/net/ndi/src/ndisys.rs
+++ b/net/ndi/src/ndisys.rs
@@ -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 {