[PATCH 10.1/11] SQUASH: kms-steal-crtc: link against cairo

Emil Velikov emil.l.velikov at gmail.com
Thu Jan 29 07:30:52 PST 2015


Signed-off-by: Emil Velikov <emil.l.velikov at gmail.com>
---
 tests/kms/Makefile.am | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)

diff --git a/tests/kms/Makefile.am b/tests/kms/Makefile.am
index 0e1b4ef..d033934 100644
--- a/tests/kms/Makefile.am
+++ b/tests/kms/Makefile.am
@@ -29,5 +29,11 @@ noinst_PROGRAMS = \
 	kms-steal-crtc
 endif
 
+TEST_LIBS = libkms-test.la
+
+if HAVE_CAIRO
+TEST_LIBS += $(CAIRO_LIBS)
+endif
+
 kms_steal_crtc_SOURCES = kms-steal-crtc.c
-kms_steal_crtc_LDADD = libkms-test.la ../util/libutil.la
+kms_steal_crtc_LDADD = ../util/libutil.la $(TEST_LIBS)
-- 
2.1.3



More information about the dri-devel mailing list