commit | 52e52d14470a1a1db0940244b18259bc3cc48a22 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Tue Jan 28 17:32:30 2014 -0800 |
committer | Elliott Hughes <enh@google.com> | Tue Jan 28 17:32:30 2014 -0800 |
tree | 04bc6a1fa5293d0ca57383c95ce13e86f1ed5e5d | |
parent | 0a3cf1a0e5c6dbe132c1dc5e13293960c5e7b103 [diff] |
gtest needs -lpthread. Host gtests that don't use pthreads themselves need to be linked against libpthread because gtest itself uses pthreads to ensure thread-safety. (It can't know in advance whether the code under test is going to spin up threads, so it has to be pessimistic.) Change-Id: I14fb1098c163d7fe6ae9a9a0314acead4ec9383d