mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-11 10:26:19 +02:00
fix: bridge compilation
This commit is contained in:
parent
a364e7f808
commit
a68520df08
1 changed files with 4 additions and 4 deletions
8
build.rs
8
build.rs
|
@ -82,11 +82,11 @@ fn main() {
|
||||||
hbb_common::gen_version();
|
hbb_common::gen_version();
|
||||||
install_oboe();
|
install_oboe();
|
||||||
// there is problem with cfg(target_os) in build.rs, so use our workaround
|
// there is problem with cfg(target_os) in build.rs, so use our workaround
|
||||||
let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap();
|
// let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap();
|
||||||
if target_os == "android" || target_os == "ios" {
|
// if target_os == "android" || target_os == "ios" {
|
||||||
gen_flutter_rust_bridge();
|
gen_flutter_rust_bridge();
|
||||||
return;
|
// return;
|
||||||
}
|
// }
|
||||||
#[cfg(all(windows, feature = "inline"))]
|
#[cfg(all(windows, feature = "inline"))]
|
||||||
build_manifest();
|
build_manifest();
|
||||||
#[cfg(windows)]
|
#[cfg(windows)]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue