mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Fix static linking not working with sdl 2.0.8
This commit is contained in:
+2
-2
@@ -165,8 +165,8 @@ fn link_sdl2(target_os: &str) {
|
||||
|
||||
#[cfg(feature = "static-link")] {
|
||||
if cfg!(feature = "bundled") || cfg!(feature = "use-pkgconfig") == false {
|
||||
println!("cargo:rustc-link-lib=static=SDL2main");
|
||||
println!("cargo:rustc-link-lib=static=SDL2");
|
||||
println!("cargo:rustc-link-lib=static=SDL2maind");
|
||||
println!("cargo:rustc-link-lib=static=SDL2d");
|
||||
}
|
||||
|
||||
// Also linked to any required libraries for each supported platform
|
||||
|
||||
Reference in New Issue
Block a user