[cairo-commit] boilerplate/Makefile.am src/Makefile.am
Chris Wilson
ickle at kemper.freedesktop.org
Tue Sep 16 15:47:32 PDT 2008
boilerplate/Makefile.am | 2 +-
src/Makefile.am | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
New commits:
commit a341cb5a98e3eadd5ccb47f9b1e696cb52f7ce9e
Author: Chris Wilson <chris at chris-wilson.co.uk>
Date: Tue Sep 16 13:07:12 2008 +0100
[Makefile.am] Add CAIRO_LIBS to check-link.
With --enable-gcov, make check aborts with gcov errors on check-link - it
appears that -lgcov is magic and requires explicit invovation on the
command-line.
diff --git a/boilerplate/Makefile.am b/boilerplate/Makefile.am
index 22f66a8..9d27fd9 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 60a5520..ace6dc3 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
More information about the cairo-commit
mailing list