Miao Wang | a9fd919 | 2017-07-06 11:06:31 -0700 | [diff] [blame] | 1 | # Android builds do not need to link in a separate pthread library. |
| 2 | LIB_COPTS = [] |
Miao Wang | 7b05d57 | 2015-10-19 15:30:10 -0700 | [diff] [blame] | 3 | |
Miao Wang | a9fd919 | 2017-07-06 11:06:31 -0700 | [diff] [blame] | 4 | LIB_LINKOPTS = select({ |
| 5 | ":android": [], |
Lev Proleev | 123f384 | 2021-02-26 21:44:39 +0000 | [diff] [blame] | 6 | ":windows": [], |
Miao Wang | a9fd919 | 2017-07-06 11:06:31 -0700 | [diff] [blame] | 7 | "//conditions:default": ["-lpthread"], |
| 8 | }) |
| 9 | |
Lev Proleev | 123f384 | 2021-02-26 21:44:39 +0000 | [diff] [blame] | 10 | BIN_LINKOPTS = LIB_LINKOPTS |
| 11 | |