mirror of
https://github.com/rustdesk/rustdesk.git
synced 2025-05-10 18:06:01 +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();
|
||||
install_oboe();
|
||||
// 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();
|
||||
if target_os == "android" || target_os == "ios" {
|
||||
// let target_os = std::env::var("CARGO_CFG_TARGET_OS").unwrap();
|
||||
// if target_os == "android" || target_os == "ios" {
|
||||
gen_flutter_rust_bridge();
|
||||
return;
|
||||
}
|
||||
// return;
|
||||
// }
|
||||
#[cfg(all(windows, feature = "inline"))]
|
||||
build_manifest();
|
||||
#[cfg(windows)]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue