1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-15 18:32:48 +00:00

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

View file

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