Hi All,
the attached patch helps me build libdrm with jhbuild.
Cheers,
Kristof
From 616a08e854c6ce579eee08bf4faacc300cfa679a Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?RALOVICH,=20Krist=C3=B3f?= <tad...@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
------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
--
_______________________________________________
Dri-devel mailing list
Dri-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dri-devel