From 9a95aa6a71334d1f2082f7c2d8b185d509dacbc5 Mon Sep 17 00:00:00 2001 From: Rongjian Lan Date: Wed, 23 Jan 2019 08:56:14 +0000 Subject: [PATCH] Fix build error --- .travis.yml | 2 +- test/crypto/bls/main.go | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/.travis.yml b/.travis.yml index 975d106c9..e56346534 100644 --- a/.travis.yml +++ b/.travis.yml @@ -5,7 +5,7 @@ install: - export GOPATH=$HOME/gopath - export CGO_CPPFLAGS="-I$GOPATH/src/github.com/harmony-one/bls/include -I$GOPATH/src/github.com/harmony-one/mcl/include" - export CGO_LDFLAGS="-L$GOPATH/src/github.com/harmony-one/bls/lib -L$GOPATH/src/github.com/harmony-one/mcl/lib" - - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GOPATH/src/github.com/harmony-one/bls/lib + - export LD_LIBRARY_PATH=$LD_LIBRARY_PATH:$GOPATH/src/github.com/harmony-one/bls/lib:$GOPATH/src/github.com/harmony-one/mcl/lib - cd $HOME/gopath/src - cd github.com/harmony-one - git clone https://github.com/harmony-one/mcl.git diff --git a/test/crypto/bls/main.go b/test/crypto/bls/main.go index b239c4b78..ba526c309 100644 --- a/test/crypto/bls/main.go +++ b/test/crypto/bls/main.go @@ -1,7 +1,6 @@ package main import ( - "fmt" "github.com/harmony-one/bls/ffi/go/bls" "log" "time"