diff mbox

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

Message ID 1422545452-3102-1-git-send-email-emil.l.velikov@gmail.com (mailing list archive)
State New, archived
Headers show

Commit Message

Emil Velikov Jan. 29, 2015, 3:30 p.m. UTC
Signed-off-by: Emil Velikov <emil.l.velikov@gmail.com>
---
 tests/kms/Makefile.am | 8 +++++++-
 1 file changed, 7 insertions(+), 1 deletion(-)
diff mbox

Patch

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)