From 7065ebd2ed275fd3c85c4ca6018103ff0b897df7 Mon Sep 17 00:00:00 2001 From: Fynn Date: Tue, 28 Jul 2015 19:16:16 -0300 Subject: [PATCH] FreeBSD support --- crypto/secp256k1/secp256.go | 2 ++ 1 file changed, 2 insertions(+) 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