Module: Mesa Branch: 17.1 Commit: 81a12778f55bc1a96a8454c521648333248d2065 URL: http://cgit.freedesktop.org/mesa/mesa/commit/?id=81a12778f55bc1a96a8454c521648333248d2065
Author: Eric Anholt <[email protected]> Date: Mon Jul 31 14:47:12 2017 -0700 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) --- src/util/Makefile.am | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/util/Makefile.am b/src/util/Makefile.am index f094eb4a0d..b92dbac7ff 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 _______________________________________________ mesa-commit mailing list [email protected] https://lists.freedesktop.org/mailman/listinfo/mesa-commit
