|
|
@ -21,10 +21,12 @@ CPPFLAGS += `pkg-config --cflags protobuf grpc` |
|
|
|
CXXFLAGS += -std=c++11
|
|
|
|
CXXFLAGS += -std=c++11
|
|
|
|
ifeq ($(SYSTEM),Darwin) |
|
|
|
ifeq ($(SYSTEM),Darwin) |
|
|
|
LDFLAGS += -L/usr/local/lib `pkg-config --libs protobuf grpc++ grpc`\
|
|
|
|
LDFLAGS += -L/usr/local/lib `pkg-config --libs protobuf grpc++ grpc`\
|
|
|
|
|
|
|
|
-pthread\
|
|
|
|
-lgrpc++_reflection\
|
|
|
|
-lgrpc++_reflection\
|
|
|
|
-ldl
|
|
|
|
-ldl
|
|
|
|
else |
|
|
|
else |
|
|
|
LDFLAGS += -L/usr/local/lib `pkg-config --libs protobuf grpc++ grpc`\
|
|
|
|
LDFLAGS += -L/usr/local/lib `pkg-config --libs protobuf grpc++ grpc`\
|
|
|
|
|
|
|
|
-pthread\
|
|
|
|
-Wl,--no-as-needed -lgrpc++_reflection -Wl,--as-needed\
|
|
|
|
-Wl,--no-as-needed -lgrpc++_reflection -Wl,--as-needed\
|
|
|
|
-ldl
|
|
|
|
-ldl
|
|
|
|
endif |
|
|
|
endif |
|
|
|