summaryrefslogtreecommitdiffhomepage
path: root/tools/grpc/cpp/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'tools/grpc/cpp/Makefile')
-rw-r--r--tools/grpc/cpp/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/grpc/cpp/Makefile b/tools/grpc/cpp/Makefile
index e277acfb..2fcb5c8c 100644
--- a/tools/grpc/cpp/Makefile
+++ b/tools/grpc/cpp/Makefile
@@ -13,7 +13,7 @@ vpath %.proto $(PROTOS_PATH)
all: system-check gobgp_api_client
gobgp_api_client: gobgp_api_client.pb.o gobgp_api_client.grpc.pb.o gobgp_api_client.o
- $(CXX) $^ $(LDFLAGS) -o $@
+ $(CXX) $^ $(LDFLAGS) -L. -lgobgp -o $@
%.grpc.pb.cc: %.proto
$(PROTOC) -I $(PROTOS_PATH) --grpc_out=. --plugin=protoc-gen-grpc=$(GRPC_CPP_PLUGIN_PATH) $<