mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-05-05 03:08:05 +02:00
glsl: Add pthread libs to cache_test
Fixes the following compile error, present when the SHA1 library is libgcrypt:
CCLD glsl/tests/cache-test
glsl/.libs/libglsl.a(libmesautil_la-mesa-sha1.o): In function `call_once':
/mesa/src/util/../../include/c11/threads_posix.h:96: undefined reference to `pthread_once'
Signed-off-by: Rhys Kidd <rhyskidd@gmail.com>
Reviewed-by: Timothy Arceri <timothy.arceri@collabora.com>
(cherry picked from commit 5c73ecaac4)
This commit is contained in:
parent
e851f27487
commit
241dc4634f
1 changed files with 4 additions and 1 deletions
|
|
@ -62,8 +62,11 @@ glsl_tests_blob_test_LDADD = \
|
|||
|
||||
glsl_tests_cache_test_SOURCES = \
|
||||
glsl/tests/cache_test.c
|
||||
glsl_tests_cache_test_CFLAGS = \
|
||||
$(PTHREAD_CFLAGS)
|
||||
glsl_tests_cache_test_LDADD = \
|
||||
glsl/libglsl.la
|
||||
glsl/libglsl.la \
|
||||
$(PTHREAD_LIBS)
|
||||
|
||||
glsl_tests_general_ir_test_SOURCES = \
|
||||
glsl/tests/builtin_variable_test.cpp \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue