aboutsummaryrefslogtreecommitdiffstats
path: root/ffi/go/bls/mcl.go
diff options
context:
space:
mode:
authorSonic <sonic@dexon.org>2019-04-08 15:45:19 +0800
committerSonic <sonic@dexon.org>2019-04-10 15:49:45 +0800
commitb0a83abe7389df7f4c45adc3b52d957f3996322d (patch)
tree3cb57be8c43c39199f213fd0ae0ff3efb15399a2 /ffi/go/bls/mcl.go
parent0f278c5c52b63ca0041d1b55edab8760b392b081 (diff)
downloaddexon-bls-b0a83abe7389df7f4c45adc3b52d957f3996322d.tar
dexon-bls-b0a83abe7389df7f4c45adc3b52d957f3996322d.tar.gz
dexon-bls-b0a83abe7389df7f4c45adc3b52d957f3996322d.tar.bz2
dexon-bls-b0a83abe7389df7f4c45adc3b52d957f3996322d.tar.lz
dexon-bls-b0a83abe7389df7f4c45adc3b52d957f3996322d.tar.xz
dexon-bls-b0a83abe7389df7f4c45adc3b52d957f3996322d.tar.zst
dexon-bls-b0a83abe7389df7f4c45adc3b52d957f3996322d.zip
static link bls dependenciesdev
Diffstat (limited to 'ffi/go/bls/mcl.go')
-rw-r--r--ffi/go/bls/mcl.go2
1 files changed, 1 insertions, 1 deletions
diff --git a/ffi/go/bls/mcl.go b/ffi/go/bls/mcl.go
index a808bad..ca8d7f0 100644
--- a/ffi/go/bls/mcl.go
+++ b/ffi/go/bls/mcl.go
@@ -4,7 +4,7 @@ package bls
#cgo bn256 CFLAGS:-DMCLBN_FP_UNIT_SIZE=4
#cgo bn384 CFLAGS:-DMCLBN_FP_UNIT_SIZE=6
#cgo bn384_256 CFLAGS:-DMCLBN_FP_UNIT_SIZE=6 -DMCLBN_FR_UNIT_SIZE=4
-#include "config.h"
+#cgo !bn256,!bn384,!bn384_256 CFLAGS:-DMCLBN_FP_UNIT_SIZE=6
#include <mcl/bn.h>
*/
import "C"