Skip to content

Commit

Permalink
Make libsodium compatible with M1 Mac
Browse files Browse the repository at this point in the history
  • Loading branch information
Mdaiki0730 committed Nov 25, 2022
1 parent 556224e commit 75fb3c3
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions crypto/vrf/internal/vrf/vrf.go
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,8 @@ package vrf
#cgo CFLAGS: -Wall -std=c99
#cgo darwin,amd64 CFLAGS: -I./sodium/darwin_amd64/include/
#cgo darwin,amd64 LDFLAGS: -L./sodium/darwin_amd64/lib -lsodium
#cgo darwin,arm64 CFLAGS: -I./sodium/darwin_arm64/include/
#cgo darwin,arm64 LDFLAGS: -L./sodium/darwin_arm64/lib -lsodium
#cgo linux,amd64 CFLAGS: -I./sodium/linux_amd64/include
#cgo linux,amd64 LDFLAGS: -L./sodium/linux_amd64/lib -lsodium
#cgo linux,arm64 CFLAGS: -I./sodium/linux_arm64/include
Expand Down

0 comments on commit 75fb3c3

Please sign in to comment.