examples: use $(COGL_PANGO_DEP_LIBS) for cogl-pango users

The crate example uses the cogl_pango API and perviously we just
explicitly said to link with the libcogl-pango.la but that doesn't seem
to be enough (not really sure why since libtool should know the required
dependencies to brining in for linking) so we now pass
$(COGL_PANGO_DEP_LIBS) when linking the crate demo.

https://bugzilla.gnome.org/show_bug.cgi?id=656441
This commit is contained in:
Robert Bragg 2011-09-05 12:42:41 +01:00
parent 9b56ce4d5b
commit 5ac563afdb

View File

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