fix dylib on top of working version 0.2.1

This commit is contained in:
Brandon Thomas
2020-08-24 16:07:14 -04:00
parent 1cea4daeee
commit 0a4fe307b4
+1 -1
View File
@@ -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);