Skip to content

Commit 26b09fd

Browse files
committed
Just call debug_postfix() directly
1 parent 17d81f8 commit 26b09fd

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

sdl2-sys/build.rs

+2-3
Original file line numberDiff line numberDiff line change
@@ -426,12 +426,11 @@ fn link_sdl2(target_os: &str) {
426426

427427
#[cfg(feature = "static-link")]
428428
{
429-
let debug_postfix = debug_postfix();
430429
if cfg!(feature = "bundled")
431430
|| (cfg!(feature = "use-pkgconfig") == false && cfg!(feature = "use-vcpkg") == false)
432431
{
433-
println!("cargo:rustc-link-lib=static=SDL2main{}", debug_postfix);
434-
println!("cargo:rustc-link-lib=static=SDL2{}", debug_postfix);
432+
println!("cargo:rustc-link-lib=static=SDL2main{}", debug_postfix());
433+
println!("cargo:rustc-link-lib=static=SDL2{}", debug_postfix());
435434
}
436435

437436
// Also linked to any required libraries for each supported platform

0 commit comments

Comments
 (0)