Skip to content

Commit

Permalink
Fix dynamic linking for Windows UWP targets
Browse files Browse the repository at this point in the history
  • Loading branch information
jblazquez committed Jan 1, 2020
1 parent 86134e7 commit a1b8461
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/cargo/core/compiler/build_context/target_info.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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"
{
Expand Down

0 comments on commit a1b8461

Please sign in to comment.