diff options
author | Jonathan Gray <[email protected]> | 2014-03-10 07:27:00 -0600 |
---|---|---|
committer | Brian Paul <[email protected]> | 2014-03-11 08:47:12 -0600 |
commit | 0d6f573f6e6785babe1e274697fdd315db95fb98 (patch) | |
tree | beed00b50b2ee53d626ad9a1aa699aa8d6ddd8b9 /src/glsl/Makefile.am | |
parent | 40214267aba2f357eb3334eb8235504ccb93035a (diff) |
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 <[email protected]>
Reviewed-by: Brian Paul <[email protected]>
Diffstat (limited to 'src/glsl/Makefile.am')
-rw-r--r-- | src/glsl/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/glsl/Makefile.am b/src/glsl/Makefile.am index 85164599274..534eaa38536 100644 --- a/src/glsl/Makefile.am +++ b/src/glsl/Makefile.am @@ -128,7 +128,9 @@ glsl_compiler_SOURCES = \ $(top_srcdir)/src/mesa/program/symbol_table.c \ $(GLSL_COMPILER_CXX_FILES) -glsl_compiler_LDADD = libglsl.la +glsl_compiler_LDADD = \ + libglsl.la \ + $(PTHREAD_LIBS) glsl_test_SOURCES = \ $(top_srcdir)/src/mesa/main/hash_table.c \ |