Fix dynamic linking for Windows UWP targets

This commit is contained in:
Javier Blazquez 2019-12-31 16:08:22 -08:00
parent 86134e7666
commit a1b846189c

View File

@ -228,7 +228,7 @@ impl TargetInfo {
}];
// See rust-lang/cargo#4500.
if target_triple.ends_with("pc-windows-msvc")
if target_triple.ends_with("-windows-msvc")
&& crate_type.ends_with("dylib")
&& suffix == ".dll"
{