mirror of
https://gitlab.freedesktop.org/mesa/mesa.git
synced 2025-12-24 13:10:10 +01:00
mesa/tests: Link main-test with CLOCK_LIB.
Fix 'make check' linking error with glibc < 2.17. CXXLD main-test ../../../../src/mesa/.libs/libmesa.a(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>
This commit is contained in:
parent
7dccd38b40
commit
f1f1cb41d0
1 changed files with 2 additions and 1 deletions
|
|
@ -19,7 +19,8 @@ main_test_LDADD = \
|
|||
$(top_builddir)/src/mesa/libmesa.la \
|
||||
$(top_builddir)/src/gtest/libgtest.la \
|
||||
$(PTHREAD_LIBS) \
|
||||
$(DLOPEN_LIBS)
|
||||
$(DLOPEN_LIBS) \
|
||||
$(CLOCK_LIB)
|
||||
|
||||
if HAVE_SHARED_GLAPI
|
||||
AM_CPPFLAGS += -DHAVE_SHARED_GLAPI
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue