Skip to content

Commit

Permalink
Fix musl build (link statically)
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitsh committed Nov 15, 2019
1 parent 0e5fd44 commit ebc2212
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions native/fluent_nif/.cargo/config
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
[target.x86_64-unknown-linux-musl]
rustflags = [
"-C", "target-feature=-crt-static",
]

[target.x86_64-apple-darwin]
rustflags = [
"-C", "link-arg=-undefined",
Expand Down

0 comments on commit ebc2212

Please sign in to comment.