build: only have libcogl-pango depend on pango

Only cogl-pango needs a dependency on pangocairo so we are now careful to
separate the pangocairo pkg-config flags from the others so we can avoid
having libcogl builds refer to them.

Reviewed-by: Neil Roberts <neil@linux.intel.com>
This commit is contained in:
Robert Bragg
2011-08-02 14:14:06 +01:00
parent df30641f0b
commit 5012bcf1d1
4 changed files with 10 additions and 5 deletions

View File

@ -29,6 +29,7 @@ if BUILD_COGL_PANGO
noinst_PROGRAMS += crate
crate_SOURCES = crate.c
crate_LDADD = $(common_ldadd) $(top_builddir)/cogl-pango/libcogl-pango.la
crate_CFLAGS = $(AM_CFLAGS) $(COGL_PANGO_DEP_CFLAGS)
endif
if X11_TESTS