mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-04-20 10:00:36 +02:00
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>
This commit is contained in:
parent
40214267ab
commit
0d6f573f6e
1 changed files with 3 additions and 1 deletions
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue