glsl: Link glsl_compiler with pthreads library.
authorJonathan Gray <jsg@jsg.id.au>
Mon, 10 Mar 2014 13:27:00 +0000 (07:27 -0600)
committerBrian Paul <brianp@vmware.com>
Tue, 11 Mar 2014 14:47:12 +0000 (08:47 -0600)
commit0d6f573f6e6785babe1e274697fdd315db95fb98
treebeed00b50b2ee53d626ad9a1aa699aa8d6ddd8b9
parent40214267aba2f357eb3334eb8235504ccb93035a
glsl: Link glsl_compiler with pthreads library.

Fixes the following build error on OpenBSD:

./.libs/libglsl.a(builtin_functions.o)(.text+0x973): In function `mtx_lock':
../../include/c11/threads_posix.h:195: undefined reference to `pthread_mutex_lock'
./.libs/libglsl.a(builtin_functions.o)(.text+0x9a5): In function `mtx_unlock':
../../include/c11/threads_posix.h:248: undefined reference to `pthread_mutex_unlock'

Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Brian Paul <brianp@vmware.com>
src/glsl/Makefile.am