From 0a4fe307b458c5aab690d8a165a32844297cf72c Mon Sep 17 00:00:00 2001 From: Brandon Thomas Date: Mon, 24 Aug 2020 16:07:14 -0400 Subject: [PATCH] fix dylib on top of working version 0.2.1 --- build.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build.rs b/build.rs index 133ddb3..92d33dc 100644 --- a/build.rs +++ b/build.rs @@ -7,7 +7,7 @@ use std::path::PathBuf; fn main() { println!("cargo:rerun-if-changed=wrapper.h"); if cfg!(target_os = "linux") { - println!("cargo:rustc-link-lib=cdylib=k4a"); + println!("cargo:rustc-link-lib=dylib=k4a"); } if cfg!(target_os = "windows") { println!("cargo:rustc-link-search=native=./vendor/lib/windows/{}", consts::ARCH);