1
0
Fork 0
mirror of https://github.com/doukutsu-rs/doukutsu-rs synced 2025-01-02 09:06:45 +00:00

Fix of the last fix

This commit is contained in:
biroder 2024-12-23 11:50:21 +02:00 committed by GitHub
parent fc1bfdcc68
commit 3ef2f652c3
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -9,6 +9,7 @@ fn main() {
println!("cargo:rerun-if-changed=build.rs");
#[cfg(target_os = "windows")]
if target.contains("windows") {
let mut res = winres::WindowsResource::new();
res.set_icon("res/sue.ico");
@ -19,13 +20,17 @@ fn main() {
println!("cargo:rustc-link-arg=/FORCE:MULTIPLE");
println!("cargo:rustc-link-lib=shlwapi");
}
} else if target.contains("darwin") {
}
if target.contains("darwin") {
println!("cargo:rustc-env=MACOSX_DEPLOYMENT_TARGET=10.15");
println!("cargo:rustc-link-arg=-weak_framework");
println!("cargo:rustc-link-arg=GameController");
println!("cargo:rustc-link-arg=-weak_framework");
println!("cargo:rustc-link-arg=CoreHaptics");
} else if target.contains("android") {
}
if target.contains("android") {
println!("cargo:rustc-link-lib=dylib=GLESv2");
println!("cargo:rustc-link-lib=dylib=EGL");
}