aboutsummaryrefslogtreecommitdiffhomepage
path: root/cpp
diff options
context:
space:
mode:
authorGravatar Yang Gao <yangg@google.com>2015-03-08 22:30:12 -0700
committerGravatar Yang Gao <yangg@google.com>2015-03-08 22:30:12 -0700
commit2365ad193b45ed10c2becaedef6a72b1bf185097 (patch)
treece54d016bf76151c20054a4a2ae86d583eb121c9 /cpp
parent85df5b7c37510349f557b2ac44aef71006e622f4 (diff)
address comment
Diffstat (limited to 'cpp')
-rw-r--r--cpp/helloworld/Makefile2
-rw-r--r--cpp/route_guide/Makefile2
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)`