Skip to contentSkip to conversation

Link dristat with -lrt if appropriate.

PATCH:libdrm Cyril Brulebois 1 participant 1 message Apr 19, 2011

lore
Share & tools
lore
#0 lore raw

The need for -lrt is determined at configure time, let's use the resulting variable for dristat's link, since it uses clock_gettime().

---
 tests/Makefile.am |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)
tests/Makefile.am +2 -0
index bf1987f..6f48931 100644
@@ -10,6 +10,8 @@ check_PROGRAMS = \
 	dristat \
 	drmstat
 
+dristat_LDADD = $(CLOCK_LIB)
+
 SUBDIRS = modeprint
 
 if HAVE_LIBKMS
Signature · 1 line
1.7.4.1