diff mbox

avoid linker error

Message ID 5712ce4f1002191653u45d97f5crb03ddf0d120bd8d7@mail.gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

RALOVICH, Kristóf Feb. 20, 2010, 12:53 a.m. UTC
None
diff mbox

Patch

From 616a08e854c6ce579eee08bf4faacc300cfa679a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?RALOVICH,=20Krist=C3=B3f?= <tade60@freemail.hu>
Date: Fri, 19 Feb 2010 19:48:26 -0500
Subject: [PATCH] tests: avoid linker error

clock_gettime() requires -lrt
---
 tests/Makefile.am |    3 ++-
 1 files changed, 2 insertions(+), 1 deletions(-)

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