From 0639906949ec2c63ea98ced4bfd7f58e269d9226 Mon Sep 17 00:00:00 2001 From: Kevaundray Wedderburn Date: Fri, 31 May 2024 20:34:23 +0100 Subject: [PATCH] chore: link necessary windows libraries (these are standard on windows) --- bindings/nim/nim_code/src/nim_peerdas_kzg/bindings.nim | 3 +++ 1 file changed, 3 insertions(+) diff --git a/bindings/nim/nim_code/src/nim_peerdas_kzg/bindings.nim b/bindings/nim/nim_code/src/nim_peerdas_kzg/bindings.nim index 72ed801a..31e424b8 100644 --- a/bindings/nim/nim_code/src/nim_peerdas_kzg/bindings.nim +++ b/bindings/nim/nim_code/src/nim_peerdas_kzg/bindings.nim @@ -13,6 +13,9 @@ else: const libpath = getInstallDir() / libName {.passL: libpath.} +{.passL: "-lws2_32".} +{.passL: "-lntdll".} +{.passL: "-luserenv".} proc add_from_rust(a: cint, b: cint): cint {.importc: "add123456789".}