Skip to content

Commit 7a97a6f

Browse files
committed
Add the -pthread link option to the "benchmark" library.
I'm not sure what the right fix is here, but this works for now.
1 parent 2b51f4a commit 7a97a6f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

WORKSPACE

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ cc_library(
3636
],
3737
linkopts = select({
3838
":windows": ["-defaultlib:shlwapi.lib"],
39-
"//conditions:default": [],
39+
"//conditions:default": ["-pthread"],
4040
}),
4141
visibility = ["//visibility:public"],
4242
)

0 commit comments

Comments
 (0)