summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--boilerplate/Makefile.am2
-rw-r--r--src/Makefile.am2
2 files changed, 2 insertions, 2 deletions
diff --git a/boilerplate/Makefile.am b/boilerplate/Makefile.am
index 22f66a89..9d27fd96 100644
--- a/boilerplate/Makefile.am
+++ b/boilerplate/Makefile.am
@@ -53,4 +53,4 @@ TESTS += check-link$(EXEEXT)
endif
check_PROGRAMS += check-link
-check_link_LDADD = libcairoboilerplate.la
+check_link_LDADD = libcairoboilerplate.la $(CAIRO_LIBS)
diff --git a/src/Makefile.am b/src/Makefile.am
index 60a55207..ace6dc31 100644
--- a/src/Makefile.am
+++ b/src/Makefile.am
@@ -77,7 +77,7 @@ endif
EXTRA_DIST += $(TESTS_SH) check-has-hidden-symbols.c
check_PROGRAMS += check-link
-check_link_LDADD = libcairo.la
+check_link_LDADD = libcairo.la $(CAIRO_LIBS)
# The pre-processed result is used by check-{def,plt}.sh to determine whether