|
|
|
@ -114,9 +114,9 @@ The `make` command should automatically build the Harmony binary & all dependent |
|
|
|
|
|
|
|
|
|
However, if you wish to bypass the Makefile, first export the build flags: |
|
|
|
|
```bash |
|
|
|
|
export CGO_CFLAGS="-I$GOPATH/src/github.com/harmony-one/bls/include -I$GOPATH/src/github.com/harmony-one/mcl/include -I/usr/local/opt/openssl/include" |
|
|
|
|
export CGO_LDFLAGS="-L$GOPATH/src/github.com/harmony-one/bls/lib -L/usr/local/opt/openssl/lib" |
|
|
|
|
export LD_LIBRARY_PATH=$GOPATH/src/github.com/harmony-one/bls/lib:$GOPATH/src/github.com/harmony-one/mcl/lib:/usr/local/opt/openssl/lib |
|
|
|
|
export CGO_CFLAGS="-I$GOPATH/src/github.com/harmony-one/bls/include -I$GOPATH/src/github.com/harmony-one/mcl/include -I/opt/homebrew/opt/openssl@1.1/include" |
|
|
|
|
export CGO_LDFLAGS="-L$GOPATH/src/github.com/harmony-one/bls/lib -L/opt/homebrew/opt/openssl@1.1/lib" |
|
|
|
|
export LD_LIBRARY_PATH=$GOPATH/src/github.com/harmony-one/bls/lib:$GOPATH/src/github.com/harmony-one/mcl/lib:/opt/homebrew/opt/openssl@1.1/lib |
|
|
|
|
export LIBRARY_PATH=$LD_LIBRARY_PATH |
|
|
|
|
export DYLD_FALLBACK_LIBRARY_PATH=$LD_LIBRARY_PATH |
|
|
|
|
export GO111MODULE=on |
|
|
|
|