diff options
-rw-r--r-- | cpp/helloworld/Makefile | 2 | ||||
-rw-r--r-- | cpp/route_guide/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/cpp/helloworld/Makefile b/cpp/helloworld/Makefile index e6ddb644fa..0333cc2e19 100644 --- a/cpp/helloworld/Makefile +++ b/cpp/helloworld/Makefile @@ -32,7 +32,7 @@ CXX = g++ CPPFLAGS = -I/usr/local/include -pthread CXXFLAGS = -std=c++11 -LDFLAGS = -L/usr/local/lib -lgrpc -lgrpc++_unsecure -lprotobuf -lpthread -ldl +LDFLAGS = -L/usr/local/lib -lgrpc++_unsecure -lgrpc -lgpr -lprotobuf -lpthread -ldl PROTOC = protoc GRPC_CPP_PLUGIN = grpc_cpp_plugin GRPC_CPP_PLUGIN_PATH ?= `which $(GRPC_CPP_PLUGIN)` diff --git a/cpp/route_guide/Makefile b/cpp/route_guide/Makefile index 0a26090a85..69bb6dbb8f 100644 --- a/cpp/route_guide/Makefile +++ b/cpp/route_guide/Makefile @@ -32,7 +32,7 @@ CXX = g++ CPPFLAGS = -I/usr/local/include -pthread CXXFLAGS = -std=c++11 -LDFLAGS = -L/usr/local/lib -lgpr -lgrpc -lgrpc++_unsecure -lprotobuf -lpthread -ldl +LDFLAGS = -L/usr/local/lib -lgrpc++_unsecure -lgrpc -lgpr -lprotobuf -lpthread -ldl PROTOC = protoc GRPC_CPP_PLUGIN = grpc_cpp_plugin GRPC_CPP_PLUGIN_PATH ?= `which $(GRPC_CPP_PLUGIN)` |