Skip to content

Commit

Permalink
Add missing @[Link(dll:)] annotation to MPIR (crystal-lang#15003)
Browse files Browse the repository at this point in the history
  • Loading branch information
HertzDevil authored Sep 19, 2024
1 parent 47d1748 commit 37da284
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/big/lib_gmp.cr
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{% if flag?(:win32) %}
@[Link("mpir")]
{% if compare_versions(Crystal::VERSION, "1.11.0-dev") >= 0 %}
@[Link(dll: "mpir.dll")]
{% end %}
{% else %}
@[Link("gmp")]
{% end %}
Expand Down

0 comments on commit 37da284

Please sign in to comment.