Commit 50bbdfe5 authored by obscuren's avatar obscuren

Link GMP

parent ce9a28d7
...@@ -4,6 +4,9 @@ package secp256k1 ...@@ -4,6 +4,9 @@ package secp256k1
/* /*
#cgo CFLAGS: -I./secp256k1 #cgo CFLAGS: -I./secp256k1
#cgo darwin CFLAGS: -I/usr/local/include
#cgo LDFLAGS: -lgmp
#cgo darwin LDFLAGS: -L/usr/local/lib
#define USE_NUM_GMP #define USE_NUM_GMP
#define USE_FIELD_10X26 #define USE_FIELD_10X26
#define USE_FIELD_INV_BUILTIN #define USE_FIELD_INV_BUILTIN
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment