aboutsummaryrefslogtreecommitdiffstats
path: root/crypto/secp256k1
diff options
context:
space:
mode:
authorFelix Lange <fjl@twurst.com>2015-11-03 17:33:31 +0800
committerFelix Lange <fjl@twurst.com>2015-11-03 17:33:31 +0800
commit16b0bc7c3beea94c2f11cd241003a2f1297c2aec (patch)
treeac56dc37bf7304421c6efd2655fa1ce23aed11ff /crypto/secp256k1
parentc841e39476777d0be14f04fc3a1c69f51df84933 (diff)
downloaddexon-16b0bc7c3beea94c2f11cd241003a2f1297c2aec.tar
dexon-16b0bc7c3beea94c2f11cd241003a2f1297c2aec.tar.gz
dexon-16b0bc7c3beea94c2f11cd241003a2f1297c2aec.tar.bz2
dexon-16b0bc7c3beea94c2f11cd241003a2f1297c2aec.tar.lz
dexon-16b0bc7c3beea94c2f11cd241003a2f1297c2aec.tar.xz
dexon-16b0bc7c3beea94c2f11cd241003a2f1297c2aec.tar.zst
dexon-16b0bc7c3beea94c2f11cd241003a2f1297c2aec.zip
crypto/secp256k1: add C compiler flags for pkgsrc
pkgsrc is a cross-platform package manager that also supports OS X.
Diffstat (limited to 'crypto/secp256k1')
-rw-r--r--crypto/secp256k1/secp256.go4
1 files changed, 2 insertions, 2 deletions
diff --git a/crypto/secp256k1/secp256.go b/crypto/secp256k1/secp256.go
index 88b43034f..a2104016a 100644
--- a/crypto/secp256k1/secp256.go
+++ b/crypto/secp256k1/secp256.go
@@ -20,11 +20,11 @@ package secp256k1
/*
#cgo CFLAGS: -I./libsecp256k1
-#cgo darwin CFLAGS: -I/usr/local/include
+#cgo darwin CFLAGS: -I/usr/local/include -I/opt/pkg/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 darwin LDFLAGS: -L/usr/local/lib -L/opt/pkg/lib
#cgo freebsd LDFLAGS: -L/usr/local/lib
#cgo linux,arm LDFLAGS: -L/usr/local/arm/lib
#define USE_NUM_GMP