mirror of https://github.com/grpc/grpc-web.git
Switch the link order of the protobuf and protoc libraries to resolve unresolved symbols when linking statically
This commit is contained in:
parent
00c5cc9c68
commit
e5fe1be838
|
@ -32,8 +32,8 @@
|
|||
CXX = g++
|
||||
CPPFLAGS += -I/usr/local/include -pthread
|
||||
CXXFLAGS += -std=c++11
|
||||
LDFLAGS += -L/usr/local/lib -Wl,--no-as-needed -lprotobuf \
|
||||
-lprotoc -lpthread -ldl
|
||||
LDFLAGS += -L/usr/local/lib -Wl,--no-as-needed -lprotoc \
|
||||
-lprotobuf -lpthread -ldl
|
||||
|
||||
all: protoc-gen-grpc-web
|
||||
|
||||
|
|
Loading…
Reference in New Issue