Skip to content

Commit

Permalink
Adds cfg parameter to executable labels, now required by bazel. (baze…
Browse files Browse the repository at this point in the history
  • Loading branch information
pcj authored and zaphar committed Oct 12, 2016
1 parent 3f80a55 commit ebc7c1c
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions dotnet/csharp.bzl
Original file line number Diff line number Diff line change
Expand Up @@ -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",
),
}

Expand Down Expand Up @@ -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(
Expand Down

0 comments on commit ebc7c1c

Please sign in to comment.