glsl: Link glsl_test with pthreads library.

Otherwise pthread_mutex_lock will be an undefined reference
on OpenBSD.

Bugzilla: https://bugs.freedesktop.org/show_bug.cgi?id=88219
Signed-off-by: Jonathan Gray <jsg@jsg.id.au>
Reviewed-by: Emil Velikov <emil.l.velikov@gmail.com>
Cc: "10.4 10.3" <mesa-stable@lists.freedesktop.org>
This commit is contained in:
Jonathan Gray 2015-01-09 12:33:17 +11:00 committed by Emil Velikov
parent 9db7b12cb2
commit c5be9c126d

View file

@ -157,7 +157,9 @@ glsl_test_SOURCES = \
test_optpass.cpp \
test_optpass.h
glsl_test_LDADD = libglsl.la
glsl_test_LDADD = \
libglsl.la \
$(PTHREAD_LIBS)
# We write our own rules for yacc and lex below. We'd rather use automake,
# but automake makes it especially difficult for a number of reasons: