libgl-xlib: link with -lrt
authorBrian Paul <brianp@vmware.com>
Mon, 14 Jan 2013 17:17:48 +0000 (09:17 -0800)
committerBrian Paul <brianp@vmware.com>
Tue, 15 Jan 2013 01:15:41 +0000 (18:15 -0700)
commitcb6ef3d112fa48fd3960583fd39c7ab11052c54f
tree92be5fe0d76ef3246251d16aeb99fa497ee5c345
parent258453716f001eab1288d99765213221d0599ca4
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>
src/gallium/targets/libgl-xlib/Makefile.am