diff options
author | Eric Anholt <[email protected]> | 2017-07-31 14:47:12 -0700 |
---|---|---|
committer | Andres Gomez <[email protected]> | 2017-08-21 14:30:49 +0300 |
commit | 81a12778f55bc1a96a8454c521648333248d2065 (patch) | |
tree | e80b4778347d8aea3e6232d51fe28352a46effbd | |
parent | 35e9910c2025510201eccaf1bfba760f0006fd7a (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]>
(cherry picked from commit b94ddc181bc514bd32c1d4103aa1c7582a7a60ff)
-rw-r--r-- | src/util/Makefile.am | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/util/Makefile.am b/src/util/Makefile.am index f094eb4a0d0..b92dbac7fff 100644 --- a/src/util/Makefile.am +++ b/src/util/Makefile.am @@ -44,7 +44,9 @@ libmesautil_la_SOURCES = \ $(MESA_UTIL_FILES) \ $(MESA_UTIL_GENERATED_FILES) -libmesautil_la_LIBADD = $(ZLIB_LIBS) +libmesautil_la_LIBADD = \ + $(CLOCK_LIB) \ + $(ZLIB_LIBS) roundeven_test_LDADD = -lm |