Skip to content

Commit

Permalink
chore: msvc uses windows naming convention (mingw uses linux)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevaundray committed May 30, 2024
1 parent 67d4e22 commit cef6d9b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion bindings/golang/prover.go
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ package peerdas_kzg
#cgo darwin,arm64 LDFLAGS: ./build/aarch64-apple-darwin/libc_peerdas_kzg.a
#cgo linux,amd64 LDFLAGS: ./build/x86_64-unknown-linux-gnu/libc_peerdas_kzg.a
#cgo linux,arm64 LDFLAGS: ./build/aarch64-unknown-linux-gnu/libc_peerdas_kzg.a
#cgo windows LDFLAGS: ./build/x86_64-pc-windows-msvc/libc_peerdas_kzg.a
#cgo windows LDFLAGS: ./build/x86_64-pc-windows-msvc/c_peerdas_kzg.lib
#include "./build/c_peerdas_kzg.h"
*/
import "C"
Expand Down
2 changes: 1 addition & 1 deletion scripts/compile_to_native.sh
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ case "$OS" in
# so we add a wildcard to match the prefix
MINGW64_NT-*|CYGWIN_NT-*|"Windows")
TARGET_NAME="x86_64-pc-windows-msvc"
STATIC_LIB_NAME="lib${LIB_NAME}.a"
STATIC_LIB_NAME="${LIB_NAME}.lib"
DYNAMIC_LIB_NAME="${LIB_NAME}.dll"
;;
*)
Expand Down

0 comments on commit cef6d9b

Please sign in to comment.