mirror of
https://github.com/encounter/rust-sdl2.git
synced 2026-07-10 21:18:41 -07:00
Revert "Homebrew packages are called libSDL2main and libSDL2"
This reverts commit a731b12f09.
This commit is contained in:
+2
-10
@@ -309,16 +309,8 @@ fn link_sdl2(target_os: &str) {
|
||||
|
||||
#[cfg(feature = "static-link")] {
|
||||
if cfg!(feature = "bundled") || cfg!(feature = "use-pkgconfig") == false {
|
||||
if target_os == "darwin" {
|
||||
println!("cargo:rustc-link-lib=static=libSDL2main");
|
||||
println!("cargo:rustc-link-lib=static=libSDL2");
|
||||
}
|
||||
else {
|
||||
println!("cargo:rustc-link-lib=static=SDL2main");
|
||||
println!("cargo:rustc-link-lib=static=SDL2");
|
||||
}
|
||||
|
||||
|
||||
println!("cargo:rustc-link-lib=static=SDL2main");
|
||||
println!("cargo:rustc-link-lib=static=SDL2");
|
||||
}
|
||||
|
||||
// Also linked to any required libraries for each supported platform
|
||||
|
||||
Reference in New Issue
Block a user