fix on android

This commit is contained in:
rustdesk 2021-07-29 13:30:12 +08:00
parent cd9c189c64
commit a740870b67
2 changed files with 2 additions and 4 deletions

View File

@ -32,7 +32,7 @@ quest = "0.3"
[build-dependencies]
target_build_utils = "0.3"
bindgen = "0.53"
bindgen = "0.59"
[target.'cfg(target_os = "linux")'.dependencies]
dbus = { version = "0.9", optional = true }

View File

@ -19,10 +19,8 @@ fn find_package(name: &str) -> Vec<PathBuf> {
"x64-osx".to_owned()
} else if target_os == "windows" {
"x64-windows-static".to_owned()
} else if target_os == "android" {
format!("{}-android-static", target_arch)
} else {
"x64-linux".to_owned()
format!("{}-{}", target_arch, target_os)
};
println!("cargo:info={}", target);
path.push("installed");