Skip to content

Commit

Permalink
chore: link libm on posix platforms
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed Jun 24, 2024
1 parent e90f9e9 commit c02d8c6
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bindings/nim/nim_code/nim_peerdas_kzg/bindings.nim
Original file line number Diff line number Diff line change
Expand Up @@ -18,4 +18,7 @@ const libpath = getInstallDir() / libName
when defined(windows):
{.passL: "-lws2_32".}
{.passL: "-lntdll".}
{.passL: "-luserenv".}
{.passL: "-luserenv".}
else:
# Link math library for non-Windows platforms
{.passL: "-lm".}

0 comments on commit c02d8c6

Please sign in to comment.