]> git.lizzy.rs Git - rust.git/blobdiff - library/unwind/build.rs
Auto merge of #97648 - lcnr:bound-var-replacer, r=jackh726
[rust.git] / library / unwind / build.rs
index 61d3f45ca6523bd003cd97a391cbe6072034daf1..f88e6a924b5f04ef9bb756b5192f722c018f551f 100644 (file)
@@ -36,7 +36,7 @@ fn main() {
         println!("cargo:rustc-link-lib=gcc_s");
     } else if target.contains("dragonfly") {
         println!("cargo:rustc-link-lib=gcc_pic");
-    } else if target.contains("pc-windows-gnu") {
+    } else if target.ends_with("pc-windows-gnu") {
         // This is handled in the target spec with late_link_args_[static|dynamic]
     } else if target.contains("uwp-windows-gnu") {
         println!("cargo:rustc-link-lib=unwind");