mirror of
https://github.com/storytold/k4a-sys-temp.git
synced 2026-10-09 00:09:45 +00:00
fix dylib on top of working version 0.2.1
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user