fix windows gnu build

This commit is contained in:
thewh1teagle 2024-01-08 05:52:29 +02:00
parent eee78dabaa
commit 3fe56418ad
2 changed files with 4 additions and 2 deletions

View file

@ -146,7 +146,7 @@ fn main() {
let destination = config.build();
if env::var("TARGET").unwrap().contains("window") {
if target.contains("window") && !target.contains("gnu") {
println!(
"cargo:rustc-link-search={}",
out.join("build").join("Release").display()