fix 32-bit windows builds

This commit is contained in:
József Sallai 2023-01-22 21:13:19 +02:00
parent 212d7b915b
commit 4fa7069e82
1 changed files with 5 additions and 0 deletions

View File

@ -15,6 +15,11 @@ fn main() {
let mut res = winres::WindowsResource::new();
res.set_icon("res/sue.ico");
res.compile().unwrap();
if target.contains("i686") {
// yet another hack
println!("cargo:rustc-link-arg=/FORCE:MULTIPLE");
}
}
if target.contains("darwin") {