[PATCH libdrm] tests: Add -lm to LDADD for dristat

Michel Dänzer michel at daenzer.net
Mon Sep 7 03:02:14 PDT 2015


From: Michel Dänzer <michel.daenzer at amd.com>

Fixes build failure due to unresolved log2.

Signed-off-by: Michel Dänzer <michel.daenzer at amd.com>
---
 tests/Makefile.am | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/tests/Makefile.am b/tests/Makefile.am
index 9a2d932..a511d28 100644
--- a/tests/Makefile.am
+++ b/tests/Makefile.am
@@ -33,6 +33,8 @@ check_PROGRAMS = \
 	dristat \
 	drmstat
 
+dristat_LDADD = -lm
+
 if HAVE_NOUVEAU
 SUBDIRS += nouveau
 endif
-- 
2.5.0



More information about the dri-devel mailing list