aboutsummaryrefslogtreecommitdiff
path: root/net-p2p/go-prysm/files/patch-vendor_github.com_herumi_bls-eth-go-binary_bls_bls.go
blob: 1e3d5f6bf0ddc3219c1006406d56ddea435b9cc0 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
--- vendor/github.com/herumi/bls-eth-go-binary/bls/bls.go.orig	2021-03-17 23:11:47 UTC
+++ vendor/github.com/herumi/bls-eth-go-binary/bls/bls.go
@@ -15,7 +15,8 @@ package bls
 #cgo darwin,arm64 LDFLAGS:-L${SRCDIR}/lib/darwin/arm64
 #cgo windows,amd64 LDFLAGS:-L${SRCDIR}/lib/windows/amd64
 #cgo openbsd,amd64 LDFLAGS:-L${SRCDIR}/lib/openbsd/amd64
-#cgo freebsd,amd64 LDFLAGS:-L${SRCDIR}/lib/linux/amd64
+#cgo freebsd,arm64 LDFLAGS:-L${SRCDIR}/lib/freebsd/arm64
+#cgo freebsd,amd64 LDFLAGS:-L${SRCDIR}/lib/freebsd/amd64
 typedef unsigned int (*ReadRandFunc)(void *, void *, unsigned int);
 int wrapReadRandCgo(void *self, void *buf, unsigned int n);
 #include <mcl/bn_c384_256.h>