mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2026-02-20 23:10:30 +01:00
glsl: Link glsl_compiler with CLOCK_LIB.
Fix linking error on CentOS 6. CXXLD glsl_compiler glsl/.libs/libstandalone.a(lt16-libmesautil_la-u_queue.o): In function `u_thread_get_time_nano': src/util/../../src/util/u_thread.h:84: undefined reference to `clock_gettime' Signed-off-by: Vinson Lee <vlee@freedesktop.org> Reviewed-by: Emil Velikov <emil.velikov@collabora.com>
This commit is contained in:
parent
6a9020f8dc
commit
bb32ea4fc6
1 changed files with 2 additions and 1 deletions
|
|
@ -147,7 +147,8 @@ glsl_compiler_SOURCES = \
|
|||
glsl/main.cpp
|
||||
|
||||
glsl_compiler_LDADD = \
|
||||
glsl/libstandalone.la
|
||||
glsl/libstandalone.la \
|
||||
$(CLOCK_LIB)
|
||||
|
||||
glsl_glsl_test_SOURCES = \
|
||||
glsl/test.cpp \
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue