Skip to content

Commit c02d8c6

Browse files
committed
chore: link libm on posix platforms
1 parent e90f9e9 commit c02d8c6

File tree

1 file changed

+4
-1
lines changed

1 file changed

+4
-1
lines changed

bindings/nim/nim_code/nim_peerdas_kzg/bindings.nim

+4-1
Original file line numberDiff line numberDiff line change
@@ -18,4 +18,7 @@ const libpath = getInstallDir() / libName
1818
when defined(windows):
1919
{.passL: "-lws2_32".}
2020
{.passL: "-lntdll".}
21-
{.passL: "-luserenv".}
21+
{.passL: "-luserenv".}
22+
else:
23+
# Link math library for non-Windows platforms
24+
{.passL: "-lm".}

0 commit comments

Comments
 (0)