Skip to content

Commit e9f8a17

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 3b784a4 commit e9f8a17

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/cargo/core/compiler/build_context/target_info.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -436,7 +436,8 @@ impl TargetInfo {
436436
});
437437
} else if suffix == ".dll"
438438
&& (target_triple.ends_with("windows-gnu")
439-
|| target_triple.ends_with("windows-gnullvm"))
439+
|| target_triple.ends_with("windows-gnullvm")
440+
|| target_triple.ends_with("cygwin"))
440441
{
441442
// See https://cygwin.com/cygwin-ug-net/dll.html for more
442443
// information about GNU import libraries.

0 commit comments

Comments
 (0)