From: Vinson Lee Date: Tue, 21 Mar 2017 23:24:29 +0000 (-0700) Subject: glsl: Link glsl_compiler with CLOCK_LIB. X-Git-Tag: upstream/17.1.0~1108 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=bb32ea4fc6e29986592af50161abc2c2df4ff755;p=platform%2Fupstream%2Fmesa.git 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 Reviewed-by: Emil Velikov --- diff --git a/src/compiler/Makefile.glsl.am b/src/compiler/Makefile.glsl.am index f7be5eb..761fb93 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 \