mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-08 17:48:10 +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>
(cherry picked from commit c5be9c126d)
This commit is contained in:
parent
882f702441
commit
a3381286d8
1 changed files with 3 additions and 1 deletions
|
|
@ -137,7 +137,9 @@ glsl_test_SOURCES = \
|
|||
test.cpp \
|
||||
test_optpass.cpp
|
||||
|
||||
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