forked from cerc-io/plugeth
crypto/secp256k1: add C compiler flags for pkgsrc
pkgsrc is a cross-platform package manager that also supports OS X.
This commit is contained in:
parent
c841e39476
commit
16b0bc7c3b
@ -20,11 +20,11 @@ package secp256k1
|
|||||||
|
|
||||||
/*
|
/*
|
||||||
#cgo CFLAGS: -I./libsecp256k1
|
#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 freebsd CFLAGS: -I/usr/local/include
|
||||||
#cgo linux,arm CFLAGS: -I/usr/local/arm/include
|
#cgo linux,arm CFLAGS: -I/usr/local/arm/include
|
||||||
#cgo LDFLAGS: -lgmp
|
#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 freebsd LDFLAGS: -L/usr/local/lib
|
||||||
#cgo linux,arm LDFLAGS: -L/usr/local/arm/lib
|
#cgo linux,arm LDFLAGS: -L/usr/local/arm/lib
|
||||||
#define USE_NUM_GMP
|
#define USE_NUM_GMP
|
||||||
|
Loading…
Reference in New Issue
Block a user