Skip to content

Commit

Permalink
chore: link necessary windows libraries (these are standard on windows)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed May 31, 2024
1 parent e4fa7d0 commit 0a7a7bf
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions bindings/nim/nim_code/src/nim_peerdas_kzg/bindings.nim
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,10 @@ else:
const libpath = getInstallDir() / libName

{.passL: libpath.}
when defined(windows):
{.passL: "-lws2_32".}
{.passL: "-lntdll".}
{.passL: "-luserenv".}

proc add_from_rust(a: cint, b: cint): cint {.importc: "add123456789".}

Expand Down

0 comments on commit 0a7a7bf

Please sign in to comment.