Skip to content

Commit

Permalink
Merge pull request ethereum#1958 from fjl/secp256k1-pkgsrc
Browse files Browse the repository at this point in the history
crypto/secp256k1: add C compiler flags for pkgsrc
  • Loading branch information
fjl committed Nov 3, 2015
2 parents c841e39 + 16b0bc7 commit 001684f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions crypto/secp256k1/secp256.go
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 001684f

Please sign in to comment.