Skip to content

Commit

Permalink
chore: use gnu naming scheme for windows static libs
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed May 31, 2024
1 parent e89ef11 commit e4fa7d0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion bindings/nim/nim_code/src/nim_peerdas_kzg/bindings.nim
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@ import ../header
export header

when defined(windows):
const libName = "c_peerdas_kzg.lib"
# For gnu toolchain, the name is .a
# This will need to be changed if we switch to the msvc toolchain
const libName = "libc_peerdas_kzg.a"
else:
const libName = "libc_peerdas_kzg.a"

Expand Down

0 comments on commit e4fa7d0

Please sign in to comment.