Skip to content

Commit

Permalink
fixed windows build
Browse files Browse the repository at this point in the history
  • Loading branch information
pfrommerd committed May 22, 2020
1 parent 83a62ff commit 53276db
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion BUILD.boost
Original file line number Diff line number Diff line change
Expand Up @@ -329,7 +329,15 @@ boost_library(
],
"//conditions:default": [],
}),
linkopts = ["-lpthread"],
linkopts = select({
":linux": [
"-lpthread",
],
":osx_x86_64": [
"-lpthread",
],
"//conditions:default": [],
}),
deps = [
":bind",
":date_time",
Expand Down Expand Up @@ -1903,6 +1911,12 @@ boost_library(
":tti",
":type_traits",
],
linkopts = select({
":windows": [
"bcrypt.lib"
],
"//conditions:default": [],
}),
)

boost_library(
Expand Down

0 comments on commit 53276db

Please sign in to comment.