diff mbox

tests/ programs need -lrt too since they use clock_gettime.

Message ID 1270820807-21442-1-git-send-email-edwintorok@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Török Edwin April 9, 2010, 1:46 p.m. UTC
None
diff mbox

Patch

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 3e74705..81006ab 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -4,7 +4,7 @@  AM_CPPFLAGS = \
 	-I $(top_srcdir)/include/drm \
 	-I $(top_srcdir)
 
-LDADD = $(top_builddir)/libdrm.la
+LDADD = $(top_builddir)/libdrm.la @CLOCK_LIB@
 
 noinst_PROGRAMS = \
 	dristat \