From ebc7c1cb61d45bd57042c60b6bfabdfff4979466 Mon Sep 17 00:00:00 2001 From: Paul Cody Johnston Date: Wed, 12 Oct 2016 08:48:02 -0600 Subject: [PATCH] Adds cfg parameter to executable labels, now required by bazel. (#32) --- dotnet/csharp.bzl | 3 +++ 1 file changed, 3 insertions(+) diff --git a/dotnet/csharp.bzl b/dotnet/csharp.bzl index 81ddb9ff39c4c9..fa5d9fd40f0919 100644 --- a/dotnet/csharp.bzl +++ b/dotnet/csharp.bzl @@ -302,12 +302,14 @@ _COMMON_ATTRS = { allow_files = True, single_file = True, executable = True, + cfg = "host", ), "csc": attr.label( default = Label("@mono//bin:mcs"), allow_files = True, single_file = True, executable = True, + cfg = "host", ), } @@ -468,6 +470,7 @@ _nuget_package_attrs = { "mono_exe":attr.label( executable=True, default=Label("@mono//bin:mono"), + cfg="host", ), # Reference to the nuget.exe file "nuget_exe":attr.label(