Module: Mesa Branch: master Commit: cb6ef3d112fa48fd3960583fd39c7ab11052c54f URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=cb6ef3d112fa48fd3960583fd39c7ab11052c54f
Author: Brian Paul <[email protected]> Date: Mon Jan 14 09:17:48 2013 -0800 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 <[email protected]> Reviewed-by: Andreas Boll <[email protected]> --- src/gallium/targets/libgl-xlib/Makefile.am | 3 ++- 1 files changed, 2 insertions(+), 1 deletions(-) diff --git a/src/gallium/targets/libgl-xlib/Makefile.am b/src/gallium/targets/libgl-xlib/Makefile.am index 2b697fc..adeb05d 100644 --- a/src/gallium/targets/libgl-xlib/Makefile.am +++ b/src/gallium/targets/libgl-xlib/Makefile.am @@ -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) _______________________________________________ mesa-commit mailing list [email protected] http://lists.freedesktop.org/mailman/listinfo/mesa-commit
