mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2025-02-27 18:16:20 +00:00
Merge pull request #29 from sdroege/ndi-windows-linking
Use correct library name for linking on Windows
This commit is contained in:
commit
3742f8e776
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,9 @@
|
||||||
|
|
||||||
use std::ptr;
|
use std::ptr;
|
||||||
|
|
||||||
#[link(name = "ndi")]
|
#[cfg_attr(all(target_arch = "x86_64", target_os = "windows"), link(name = "Processing.NDI.Lib.x64"))]
|
||||||
|
#[cfg_attr(all(target_arch = "x86", target_os = "windows"), link(name = "Processing.NDI.Lib.x86"))]
|
||||||
|
#[cfg_attr(not(any(target_os = "windows", target_os = "macos")), link(name = "ndi"))]
|
||||||
extern "C" {
|
extern "C" {
|
||||||
pub fn NDIlib_initialize() -> bool;
|
pub fn NDIlib_initialize() -> bool;
|
||||||
pub fn NDIlib_find_create_v2(
|
pub fn NDIlib_find_create_v2(
|
||||||
|
|
Loading…
Reference in a new issue