summaryrefslogtreecommitdiffhomepage
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-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