Skip to content

Commit 141a890

Browse files
committed
handle c circular dependence (linux gnu)
1 parent bbf929d commit 141a890

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/unix/mod.rs

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -329,6 +329,8 @@ cfg_if! {
329329
cfg(target_feature = "crt-static"))]
330330
#[link(name = "gcc", kind = "static", modifiers = "-bundle",
331331
cfg(target_feature = "crt-static"))]
332+
#[link(name = "c", kind = "static", modifiers = "-bundle",
333+
cfg(target_feature = "crt-static"))]
332334
#[link(name = "util", cfg(not(target_feature = "crt-static")))]
333335
#[link(name = "rt", cfg(not(target_feature = "crt-static")))]
334336
#[link(name = "pthread", cfg(not(target_feature = "crt-static")))]

0 commit comments

Comments
 (0)