From 1cf93d5acfd9ed16ad798c98142291bdb7688d84 Mon Sep 17 00:00:00 2001 From: tamihiro Date: Thu, 19 Jul 2018 18:40:53 +0900 Subject: fix path to lib directory --- tools/grpc/cpp/build.sh | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'tools') diff --git a/tools/grpc/cpp/build.sh b/tools/grpc/cpp/build.sh index f1c7a92c..61b5e060 100644 --- a/tools/grpc/cpp/build.sh +++ b/tools/grpc/cpp/build.sh @@ -2,10 +2,10 @@ GOBGP_PATH=${GOPATH}/src/github.com/osrg/gobgp -cd ${GOBGP_PATH}/gobgp/lib +cd ${GOBGP_PATH}/cmd/gobgp/lib go build -buildmode=c-shared -o libgobgp.so *.go cd ${GOBGP_PATH}/tools/grpc/cpp -ln -s ${GOBGP_PATH}/gobgp/lib/libgobgp.h -ln -s ${GOBGP_PATH}/gobgp/lib/libgobgp.so -ln -s ${GOBGP_PATH}/api/gobgp.proto gobgp_api_client.proto +ln -sf ${GOBGP_PATH}/cmd/gobgp/lib/libgobgp.h +ln -sf ${GOBGP_PATH}/cmd/gobgp/lib/libgobgp.so +ln -sf ${GOBGP_PATH}/api/gobgp.proto gobgp_api_client.proto make -- cgit v1.2.3