aboutsummaryrefslogtreecommitdiffstats
path: root/src/util
diff options
context:
space:
mode:
authorEric Anholt <[email protected]>2017-07-31 14:47:12 -0700
committerEric Anholt <[email protected]>2017-08-15 13:23:54 -0700
commitb94ddc181bc514bd32c1d4103aa1c7582a7a60ff (patch)
tree119ab90b287a7fe2d3571dee1d93f4ce63583d53 /src/util
parentf785db3d31ca5241388f8424fe038dbce420932a (diff)
util: Fix build on old glibc.
We need to link librt for u_thread.h's clock_gettime() call. Fixes: b822d9dd67b5 ("gallium/util: move u_queue.{c,h} to src/util") Reviewed-by: Matt Turner <[email protected]>
Diffstat (limited to 'src/util')
-rw-r--r--src/util/Makefile.am4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am
index a8352a9053e..4512dc99d5e 100644
--- a/src/util/Makefile.am
+++ b/src/util/Makefile.am
@@ -46,7 +46,9 @@ libmesautil_la_SOURCES = \
$(MESA_UTIL_FILES) \
$(MESA_UTIL_GENERATED_FILES)
-libmesautil_la_LIBADD = $(ZLIB_LIBS)
+libmesautil_la_LIBADD = \
+ $(CLOCK_LIB) \
+ $(ZLIB_LIBS)
libxmlconfig_la_SOURCES = $(XMLCONFIG_FILES)
libxmlconfig_la_CFLAGS = \