tests: Add PNG_CFLAGS/LIBS to tests
authorBenjamin Otte <otte@redhat.com>
Wed, 14 Sep 2011 15:01:51 +0000 (17:01 +0200)
committerBenjamin Otte <otte@redhat.com>
Tue, 27 Sep 2011 23:48:01 +0000 (01:48 +0200)
PNG flags were accidentally included by gdk-pixbuf. This has been fixed
recently, so we need to make sure to include it ourselves.

demos/Makefile.am

index f08303b..f91e628 100644 (file)
@@ -3,8 +3,8 @@ if HAVE_GTK
 AM_CFLAGS = @OPENMP_CFLAGS@
 AM_LDFLAGS = @OPENMP_CFLAGS@
 
-LDADD = $(top_builddir)/pixman/libpixman-1.la -lm $(GTK_LIBS)
-INCLUDES = -I$(top_srcdir)/pixman -I$(top_builddir)/pixman $(GTK_CFLAGS)
+LDADD = $(top_builddir)/pixman/libpixman-1.la -lm $(GTK_LIBS) $(PNG_LIBS)
+INCLUDES = -I$(top_srcdir)/pixman -I$(top_builddir)/pixman $(GTK_CFLAGS) $(PNG_CFLAGS)
 
 GTK_UTILS = gtk-utils.c gtk-utils.h