toxeus / go-secp256k1

Go wrapper for secp256k1
MIT License
34 stars 12 forks source link

Fix cgo LDFLAGS path #3

Closed guilhermelimak closed 6 years ago

guilhermelimak commented 6 years ago

I was receiving the following error when trying to run the project after installing it following the README instructions.

image

This small change seems to fix the issue for me and also looks like it's the best practice here (per https://golang.org/cmd/cgo/#hdr-Using_cgo_with_the_go_command).

guilhermelimak commented 6 years ago

Also I noticed issue #2, but looks like mine is on the right path and still throwing an error anyway without the PR. image

toxeus commented 6 years ago

@guilhermelimak thank you! Sorry, for my late response; it's quite a busy time for me atm.