blob: e35fe9ec91cdb948463343137463498945611b02 [file] [log] [blame]
Miao Wanga9fd9192017-07-06 11:06:31 -07001# Android builds do not need to link in a separate pthread library.
2LIB_COPTS = []
Miao Wang7b05d572015-10-19 15:30:10 -07003
Miao Wanga9fd9192017-07-06 11:06:31 -07004LIB_LINKOPTS = select({
5 ":android": [],
Lev Proleev123f3842021-02-26 21:44:39 +00006 ":windows": [],
Miao Wanga9fd9192017-07-06 11:06:31 -07007 "//conditions:default": ["-lpthread"],
8})
9
Lev Proleev123f3842021-02-26 21:44:39 +000010BIN_LINKOPTS = LIB_LINKOPTS
11