Skip to content

Commit

Permalink
Empty for linux
Browse files Browse the repository at this point in the history
  • Loading branch information
Veha0001 committed Jan 6, 2025
1 parent 71c4503 commit c7107c0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions build.rs
Original file line number Diff line number Diff line change
@@ -1,7 +1,11 @@
use std::env;

#[cfg(target_os = "windows")]
extern crate winres;

fn main() {
let target = env::var("TARGET").unwrap_or_else(|e| panic!("{}", e));

println!("cargo:rerun-if-changed=build.rs");

#[cfg(target_os = "windows")]
Expand All @@ -17,4 +21,6 @@ fn main() {
println!("cargo:rustc-link-lib=shlwapi");
}
}
if target.contains("linux") {}

}

0 comments on commit c7107c0

Please sign in to comment.