From 6c77412c565c96ce16a59e68ac7b7f88593baa7f Mon Sep 17 00:00:00 2001 From: Jonathan Gray Date: Fri, 9 Jan 2015 12:33:17 +1100 Subject: [PATCH] glsl: Link glsl_test with pthreads library. Otherwise pthread_mutex_lock will be an undefined reference on OpenBSD. Signed-off-by: Jonathan Gray --- src/glsl/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am index 9a31317..d5af603 100644 --- a/src/glsl/Makefile.am +++ b/src/glsl/Makefile.am @@ -148,7 +148,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: -- 2.2.1