mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 05:18:08 +02:00
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:
parent
9db7b12cb2
commit
c5be9c126d
1 changed files with 3 additions and 1 deletions
|
|
@ -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:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue