Skip to content

Commit

Permalink
Fix windows bazel build
Browse files Browse the repository at this point in the history
  • Loading branch information
rnburn authored and Johannes Tax committed Jul 7, 2020
1 parent 7bbbe29 commit 11f0e46
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion bazel/libevent.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -18,8 +18,12 @@ cmake_external(
"EVENT__DISABLE_TESTS": "on",
},
lib_source = ":srcs",
generate_crosstool_file = select({
"@io_opentelemetry_cpp//bazel:windows": True,
"//conditions:default": None,
}),
static_libraries = select({
"@io_opentelemetry_cpp//bazel:windows": ["libevent.lib"],
"@io_opentelemetry_cpp//bazel:windows": None,
"//conditions:default": ["libevent.a"],
}),
make_commands = select({
Expand Down

0 comments on commit 11f0e46

Please sign in to comment.