OSDN Git Service

glsl: Add pthread libs to cache_test
authorRhys Kidd <rhyskidd@gmail.com>
Wed, 26 Oct 2016 04:13:24 +0000 (00:13 -0400)
committerEmil Velikov <emil.l.velikov@gmail.com>
Sat, 24 Dec 2016 13:03:53 +0000 (13:03 +0000)
commit241dc4634f47113243ddc6d02d4d73fc6f4e98e9
treedc02ebd94bec3c5bf05b4d9f9ab5475a0780a2e0
parente851f2748773f205d89ded0c540378dfcc5ad565
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>
(cherry picked from commit 5c73ecaac487eba36e15f22be2e9396c4a0ffe46)
src/compiler/Makefile.glsl.am