diff options
author | tamihiro <dead6oy@gmail.com> | 2018-07-19 18:40:53 +0900 |
---|---|---|
committer | FUJITA Tomonori <fujita.tomonori@lab.ntt.co.jp> | 2018-07-24 09:48:57 +0900 |
commit | 1cf93d5acfd9ed16ad798c98142291bdb7688d84 (patch) | |
tree | 08bde9bb5492e2cc7bbc7d68ef24441ab87949bb /tools/grpc/cpp | |
parent | c3e41d89620a4dafc53f22732f5eef054c01b39c (diff) |
fix path to lib directory
Diffstat (limited to 'tools/grpc/cpp')
-rw-r--r-- | tools/grpc/cpp/build.sh | 8 |
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 |