mirror of
https://github.com/rust-lang/cargo.git
synced 2025-09-28 11:20:36 +00:00
Fix dynamic linking for Windows UWP targets
This commit is contained in:
parent
86134e7666
commit
a1b846189c
@ -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"
|
||||
{
|
||||
|
Loading…
x
Reference in New Issue
Block a user