diff options
author | 2016-05-22 10:22:34 -0400 | |
---|---|---|
committer | 2016-05-22 10:22:34 -0400 | |
commit | f96711dccc575ba52855ecebdd6a7df726a4075c (patch) | |
tree | a93a0e7630ed07747374aeee54bfa502ec326d40 | |
parent | d83b2aed535bc55e684d27dea614e62066504cb3 (diff) | |
parent | 3626efbf428ddd34d318217becbfad999052657a (diff) |
Merge pull request #6653 from chedeti/examples
Fix to undefined reference to gpr_log
-rw-r--r-- | examples/cpp/helloworld/Makefile | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/cpp/helloworld/Makefile b/examples/cpp/helloworld/Makefile index 58a82dbb83..780e5e427a 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 `pkg-config --libs grpc++` -lprotobuf -lpthread -ldl +LDFLAGS += -L/usr/local/lib `pkg-config --libs grpc++ grpc` -lprotobuf -lpthread -ldl PROTOC = protoc GRPC_CPP_PLUGIN = grpc_cpp_plugin GRPC_CPP_PLUGIN_PATH ?= `which $(GRPC_CPP_PLUGIN)` |