Selaa lähdekoodia

Merge pull request #936 from andrewharp/patch-1

Build protoc for host platform to enable cross-compilation.
Feng Xiao 10 vuotta sitten
vanhempi
commit
55ad57a235
1 muutettua tiedostoa jossa 1 lisäystä ja 0 poistoa
  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,