Skip to content

Commit 28d8d77

Browse files
OokiinekoBerrysoft
Ookiineko
authored andcommitted
add import library (.dll.a) file type for Cygwin
- needed to link std correctly Signed-off-by: Ookiineko <[email protected]>
1 parent 6a70640 commit 28d8d77

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Diff for: src/cargo/core/compiler/build_context/target_info.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -438,7 +438,8 @@ impl TargetInfo {
438438
});
439439
} else if suffix == ".dll"
440440
&& (target_triple.ends_with("windows-gnu")
441-
|| target_triple.ends_with("windows-gnullvm"))
441+
|| target_triple.ends_with("windows-gnullvm")
442+
|| target_triple.ends_with("cygwin"))
442443
{
443444
// See https://cygwin.com/cygwin-ug-net/dll.html for more
444445
// information about GNU import libraries.

0 commit comments

Comments
 (0)