libgl-xlib: link with -lrt
Fixes a runtime error: glxgears: symbol lookup error: /home/brian/mesa/lib/gallium/libGL.so.1: undefined symbol: clock_gettime v2: use $(CLOCK_LIB) and $(PTHREAD_LIBS) per Andreas Boll. Reviewed-by: Matt Turner <mattst88@gmail.com> Reviewed-by: Andreas Boll <andreas.boll.dev@gmail.com>
This commit is contained in:
parent
258453716f
commit
cb6ef3d112
|
@ -53,7 +53,8 @@ libGL_la_LIBADD = \
|
|||
$(top_builddir)/src/mapi/glapi/libglapi.la \
|
||||
$(top_builddir)/src/mesa/libmesagallium.la \
|
||||
$(top_builddir)/src/gallium/auxiliary/libgallium.la \
|
||||
-lpthread
|
||||
$(PTHREAD_LIBS) \
|
||||
$(CLOCK_LIB)
|
||||
|
||||
if HAVE_MESA_LLVM
|
||||
libGL_la_LIBADD += $(top_builddir)/src/gallium/drivers/llvmpipe/libllvmpipe.la $(LLVM_LIBS)
|
||||
|
|
Loading…
Reference in New Issue