summaryrefslogtreecommitdiffhomepage
path: root/tools/grpc/cpp
diff options
context:
space:
mode:
authortamihiro <dead6oy@gmail.com>2018-07-19 18:40:53 +0900
committerFUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp>2018-07-24 09:48:57 +0900
commit1cf93d5acfd9ed16ad798c98142291bdb7688d84 (patch)
tree08bde9bb5492e2cc7bbc7d68ef24441ab87949bb /tools/grpc/cpp
parentc3e41d89620a4dafc53f22732f5eef054c01b39c (diff)
fix path to lib directory
Diffstat (limited to 'tools/grpc/cpp')
-rw-r--r--tools/grpc/cpp/build.sh8
1 files changed, 4 insertions, 4 deletions
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