[PATCH:libdrm] Link dristat with -lrt if appropriate.

2011-04-19 Thread Cyril Brulebois
The need for -lrt is determined at configure time, let's use the resulting variable for dristat's link, since it uses clock_gettime(). Signed-off-by: Cyril Brulebois --- tests/Makefile.am |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile

[PATCH:libdrm] Link dristat with -lrt if appropriate.

2011-04-19 Thread Cyril Brulebois
The need for -lrt is determined at configure time, let's use the resulting variable for dristat's link, since it uses clock_gettime(). Signed-off-by: Cyril Brulebois --- tests/Makefile.am |2 ++ 1 files changed, 2 insertions(+), 0 deletions(-) diff --git a/tests/Makefile.am b/tests/Makefile