瀏覽代碼

Merge pull request #936 from andrewharp/patch-1

Build protoc for host platform to enable cross-compilation.
Feng Xiao 10 年之前
父節點
當前提交
55ad57a235
共有 1 個文件被更改,包括 1 次插入0 次删除
  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,