Explorar el Código

Merge pull request #936 from andrewharp/patch-1

Build protoc for host platform to enable cross-compilation.
Feng Xiao hace 10 años
padre
commit
55ad57a235
Se han modificado 1 ficheros con 1 adiciones y 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,