mirror of
https://github.com/rustdesk/rustdesk.git
synced 2026-04-16 19:21:27 +03:00
Update libs/scrap/build.rs
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
This commit is contained in:
@@ -228,7 +228,9 @@ fn ffmpeg() {
|
|||||||
|
|
||||||
fn main() {
|
fn main() {
|
||||||
// in this crate, these are also valid configurations
|
// in this crate, these are also valid configurations
|
||||||
println!("cargo:rustc-check-cfg=cfg(dxgi,quartz,x11)");
|
println!("cargo:rustc-check-cfg=cfg(dxgi)");
|
||||||
|
println!("cargo:rustc-check-cfg=cfg(quartz)");
|
||||||
|
println!("cargo:rustc-check-cfg=cfg(x11)");
|
||||||
|
|
||||||
// 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();
|
||||||
|
|||||||
Reference in New Issue
Block a user