Skip to content

Commit

Permalink
Fix windows library name
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 7d343ce commit 7bbbe29
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion bazel/libevent.BUILD
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,10 @@ cmake_external(
"EVENT__DISABLE_TESTS": "on",
},
lib_source = ":srcs",
static_libraries = ["libevent.a"],
static_libraries = select({
"@io_opentelemetry_cpp//bazel:windows": ["libevent.lib"],
"//conditions:default": ["libevent.a"],
}),
make_commands = select({
"@io_opentelemetry_cpp//bazel:windows": ["MSBuild.exe INSTALL.vcxproj"],
"//conditions:default" : None,
Expand Down

0 comments on commit 7bbbe29

Please sign in to comment.