diff --git a/build.rs b/build.rs index 225095a..3cc58ed 100644 --- a/build.rs +++ b/build.rs @@ -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") {