diff options
author | 2016-04-27 16:58:46 -0700 | |
---|---|---|
committer | 2016-04-27 16:58:46 -0700 | |
commit | 8cb50edbed1e75ab39c5dbd513a702d779ebf75a (patch) | |
tree | a0fa91555413ba58553aa98df8ad5ba5f89afece | |
parent | 165c62ff7562d3fb9f9f8afd0b431c7b5fab97e1 (diff) | |
parent | 81159e5adcfd4bbbf5862e05f65344045ea5aea3 (diff) |
Merge pull request #6268 from nicolasnoble/example_fix
Fixing examples.
-rw-r--r-- | examples/cpp/helloworld/Makefile | 2 | ||||
-rw-r--r-- | examples/cpp/route_guide/Makefile | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/examples/cpp/helloworld/Makefile b/examples/cpp/helloworld/Makefile index 4b1867e292..470b83573e 100644 --- a/examples/cpp/helloworld/Makefile +++ b/examples/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++_unsecure -lgrpc -lprotobuf -lpthread -ldl +LDFLAGS += -L/usr/local/lib `pkg-config --libs grpc++` -lprotobuf -lpthread -ldl PROTOC = protoc GRPC_CPP_PLUGIN = grpc_cpp_plugin GRPC_CPP_PLUGIN_PATH ?= `which $(GRPC_CPP_PLUGIN)` diff --git a/examples/cpp/route_guide/Makefile b/examples/cpp/route_guide/Makefile index 0fbb0a8929..11f2a00cc8 100644 --- a/examples/cpp/route_guide/Makefile +++ b/examples/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 -lgrpc++_unsecure -lgrpc -lprotobuf -lpthread -ldl +LDFLAGS += -L/usr/local/lib `pkg-config --libs grpc++` -lprotobuf -lpthread -ldl PROTOC = protoc GRPC_CPP_PLUGIN = grpc_cpp_plugin GRPC_CPP_PLUGIN_PATH ?= `which $(GRPC_CPP_PLUGIN)` |