Explorar o código

Merge pull request #936 from andrewharp/patch-1

Build protoc for host platform to enable cross-compilation.
Feng Xiao %!s(int64=10) %!d(string=hai) anos
pai
achega
55ad57a235
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  1. 1 0
      protobuf.bzl

+ 1 - 0
protobuf.bzl

@@ -81,6 +81,7 @@ _proto_gen = rule(
         "deps": attr.label_list(providers = ["proto"]),
         "includes": attr.string_list(),
         "protoc": attr.label(
+            cfg = HOST_CFG,
             executable = True,
             single_file = True,
             mandatory = True,