summaryrefslogtreecommitdiffstats
path: root/src/glsl
diff options
context:
space:
mode:
authorJonathan Gray <[email protected]>2015-01-09 12:33:17 +1100
committerEmil Velikov <[email protected]>2015-01-22 21:29:43 +0000
commitc5be9c126d6ca9380cd381a5eb22554e4bb71a64 (patch)
treeacfb7dfc23530f6d5a45991b4e38c47b95355512 /src/glsl
parent9db7b12cb283b915865d99d2fd3356af0662a18e (diff)
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 <[email protected]> Reviewed-by: Emil Velikov <[email protected]> Cc: "10.4 10.3" <[email protected]>
Diffstat (limited to 'src/glsl')
-rw-r--r--src/glsl/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am
index 01123bc151a..9d9f99a480b 100644
--- a/src/glsl/Makefile.am
+++ b/src/glsl/Makefile.am
@@ -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: