aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-07-29 07:20:13 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-07-29 07:20:13 +0800
commitcc27be9d446764beb45ee5a771a7d23cba5c5e9c (patch)
tree319fa4ef8e28a08cfbb128016e6885bbb0dfe6e7
parenta281df783d32270c188d05872b8008eb0b74d042 (diff)
parent7065ebd2ed275fd3c85c4ca6018103ff0b897df7 (diff)
downloaddexon-cc27be9d446764beb45ee5a771a7d23cba5c5e9c.tar.gz
dexon-cc27be9d446764beb45ee5a771a7d23cba5c5e9c.tar.zst
dexon-cc27be9d446764beb45ee5a771a7d23cba5c5e9c.zip
Merge pull request #1543 from enriquefynn/develop
FreeBSD support
-rw-r--r--crypto/secp256k1/secp256.go2
1 files changed, 2 insertions, 0 deletions
diff --git a/crypto/secp256k1/secp256.go b/crypto/secp256k1/secp256.go
index 39cfda607..7baa456bf 100644
--- a/crypto/secp256k1/secp256.go
+++ b/crypto/secp256k1/secp256.go
@@ -21,9 +21,11 @@ package secp256k1
/*
#cgo CFLAGS: -I./secp256k1
#cgo darwin CFLAGS: -I/usr/local/include
+#cgo freebsd CFLAGS: -I/usr/local/include
#cgo linux,arm CFLAGS: -I/usr/local/arm/include
#cgo LDFLAGS: -lgmp
#cgo darwin LDFLAGS: -L/usr/local/lib
+#cgo freebsd LDFLAGS: -L/usr/local/lib
#cgo linux,arm LDFLAGS: -L/usr/local/arm/lib
#define USE_NUM_GMP
#define USE_FIELD_10X26