mirror of
https://gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git
synced 2024-11-29 23:11:01 +00:00
Use correct library name for linking on Windows
This commit is contained in:
parent
def42b5514
commit
38e39d181e
1 changed files with 3 additions and 1 deletions
|
@ -2,7 +2,9 @@
|
|||
|
||||
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" {
|
||||
pub fn NDIlib_initialize() -> bool;
|
||||
pub fn NDIlib_find_create_v2(
|
||||
|
|
Loading…
Reference in a new issue