Add proto path /usr/include to Protobuild

This fixes proto compiles on alpine based systems.

Signed-off-by: Michael Crosby <crosbymichael@gmail.com>
This commit is contained in:
Michael Crosby 2019-11-07 14:36:54 -05:00
parent c80fa7df17
commit 0f4374169e

View File

@ -17,7 +17,7 @@ plugins = ["grpc", "fieldpath"]
# Paths that will be added untouched to the end of the includes. We use # Paths that will be added untouched to the end of the includes. We use
# `/usr/local/include` to pickup the common install location of protobuf. # `/usr/local/include` to pickup the common install location of protobuf.
# This is the default. # This is the default.
after = ["/usr/local/include"] after = ["/usr/local/include", "/usr/include"]
# This section maps protobuf imports to Go packages. These will become # This section maps protobuf imports to Go packages. These will become
# `-M` directives in the call to the go protobuf generator. # `-M` directives in the call to the go protobuf generator.