Skip to content

Commit

Permalink
Fix to undefined reference to gpr_log
Browse files Browse the repository at this point in the history
  • Loading branch information
chedeti committed May 19, 2016
1 parent 10ff0de commit 3626efb
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion examples/cpp/helloworld/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -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)`
Expand Down

0 comments on commit 3626efb

Please sign in to comment.