mirror of
https://github.com/google/googletest.git
synced 2025-04-07 14:29:18 +00:00
Use -lm
on linux as well.
Not all compilers on linux add it implicitly. It won't do any harm on those which do. Closes #3878
This commit is contained in:
parent
0320f517fd
commit
2ba8acf786
1 changed files with 1 additions and 6 deletions
|
@ -120,15 +120,10 @@ cc_library(
|
|||
linkopts = select({
|
||||
":qnx": ["-lregex"],
|
||||
":windows": [],
|
||||
":freebsd": [
|
||||
"//conditions:default": [
|
||||
"-lm",
|
||||
"-pthread",
|
||||
],
|
||||
":openbsd": [
|
||||
"-lm",
|
||||
"-pthread",
|
||||
],
|
||||
"//conditions:default": ["-pthread"],
|
||||
}),
|
||||
deps = select({
|
||||
":has_absl": [
|
||||
|
|
Loading…
Add table
Reference in a new issue