Adding `-static` to generator g++ build flag (#1146)

This commit is contained in:
Eryu Xia 2021-10-13 18:25:59 -07:00 committed by GitHub
parent 7f70efec6e
commit 4676d14333
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -15,7 +15,7 @@
CXX ?= g++
CPPFLAGS += -I/usr/local/include -pthread
CXXFLAGS += -std=c++11
LDFLAGS += -L/usr/local/lib -lprotoc -lprotobuf -lpthread -ldl
LDFLAGS += -L/usr/local/lib -lprotoc -lprotobuf -lpthread -ldl -static
PREFIX ?= /usr/local
all: protoc-gen-grpc-web