diff --git a/src/big/lib_gmp.cr b/src/big/lib_gmp.cr index 5ae18b5a4606..c50b1f7f6e9b 100644 --- a/src/big/lib_gmp.cr +++ b/src/big/lib_gmp.cr @@ -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 %}