Skip to content

Commit

Permalink
handle c circular dependence (linux gnu)
Browse files Browse the repository at this point in the history
  • Loading branch information
belovdv committed Nov 16, 2022
1 parent bbf929d commit 141a890
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/unix/mod.rs
Expand Up @@ -329,6 +329,8 @@ cfg_if! {
cfg(target_feature = "crt-static"))]
#[link(name = "gcc", kind = "static", modifiers = "-bundle",
cfg(target_feature = "crt-static"))]
#[link(name = "c", kind = "static", modifiers = "-bundle",
cfg(target_feature = "crt-static"))]
#[link(name = "util", cfg(not(target_feature = "crt-static")))]
#[link(name = "rt", cfg(not(target_feature = "crt-static")))]
#[link(name = "pthread", cfg(not(target_feature = "crt-static")))]
Expand Down

0 comments on commit 141a890

Please sign in to comment.