glsl: Add pthread libs to cache_test
authorRhys Kidd <rhyskidd@gmail.com>
Wed, 26 Oct 2016 04:13:24 +0000 (00:13 -0400)
committerTimothy Arceri <timothy.arceri@collabora.com>
Wed, 26 Oct 2016 22:49:35 +0000 (09:49 +1100)
commit5c73ecaac487eba36e15f22be2e9396c4a0ffe46
treef2fafd086ed1299445947407bf1d219ded7e36ff
parent8e5aed5b56bc390b974559d9586a60f62981e172
glsl: Add pthread libs to cache_test

Fixes the following compile error, present when the SHA1 library is libgcrypt:

  CCLD     glsl/tests/cache-test
glsl/.libs/libglsl.a(libmesautil_la-mesa-sha1.o): In function `call_once':
/mesa/src/util/../../include/c11/threads_posix.h:96: undefined reference to `pthread_once'

Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
src/compiler/Makefile.glsl.am