1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2024-11-22 13:42:47 +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();
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") {