diff options
author | Wei-Ning Huang <w@dexon.org> | 2019-04-12 13:24:20 +0800 |
---|---|---|
committer | Wei-Ning Huang <w@dexon.org> | 2019-04-12 13:24:20 +0800 |
commit | 5e8e1cd9adf37e993a5bea2ad116e107652f0301 (patch) | |
tree | 78946db2c5fe36e3fac6af97c9310bdca3898eca /ffi/go | |
parent | effb2b076a3af184e18df827bd2854bd7e419a10 (diff) | |
download | dexon-bls-5e8e1cd9adf37e993a5bea2ad116e107652f0301.tar dexon-bls-5e8e1cd9adf37e993a5bea2ad116e107652f0301.tar.gz dexon-bls-5e8e1cd9adf37e993a5bea2ad116e107652f0301.tar.bz2 dexon-bls-5e8e1cd9adf37e993a5bea2ad116e107652f0301.tar.lz dexon-bls-5e8e1cd9adf37e993a5bea2ad116e107652f0301.tar.xz dexon-bls-5e8e1cd9adf37e993a5bea2ad116e107652f0301.tar.zst dexon-bls-5e8e1cd9adf37e993a5bea2ad116e107652f0301.zip |
Diffstat (limited to 'ffi/go')
-rw-r--r-- | ffi/go/bls/bls.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi/go/bls/bls.go b/ffi/go/bls/bls.go index c83a4e6..56bf080 100644 --- a/ffi/go/bls/bls.go +++ b/ffi/go/bls/bls.go @@ -11,7 +11,7 @@ package bls #cgo !bn256,!bn384,!bn384_256 LDFLAGS:${SRCDIR}/../../../lib/libbls384.a #cgo CFLAGS:-I${SRCDIR}/../../../include -I${SRCDIR}/../../../../mcl/include #cgo LDFLAGS:${SRCDIR}/../../../../mcl/lib/libmcl.a -lgmpxx -lgmp -#cgo linux LDFLAGS:-static +#cgo static LDFLAGS:-static typedef unsigned int (*ReadRandFunc)(void *, void *, unsigned int); int wrapReadRandCgo(void *self, void *buf, unsigned int n); #include <bls/bls.h> |