diff options
author | Vinson Lee <[email protected]> | 2017-03-21 16:24:29 -0700 |
---|---|---|
committer | Vinson Lee <[email protected]> | 2017-03-22 14:58:18 -0700 |
commit | bb32ea4fc6e29986592af50161abc2c2df4ff755 (patch) | |
tree | 9426ac68c7407d79b8ac5e6689bc420456ab9362 /src/compiler | |
parent | 6a9020f8dcedd7aa7abc3768d429ce17a6e7865a (diff) |
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 <[email protected]>
Reviewed-by: Emil Velikov <[email protected]>
Diffstat (limited to 'src/compiler')
-rw-r--r-- | src/compiler/Makefile.glsl.am | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/compiler/Makefile.glsl.am b/src/compiler/Makefile.glsl.am index f7be5ebce9d..761fb931ad5 100644 --- a/src/compiler/Makefile.glsl.am +++ b/src/compiler/Makefile.glsl.am @@ -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 \ |