gdkpixbuf: Use the libs and cflags of gdk pixbuf instead of gtk
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 11 May 2009 08:15:00 +0000 (10:15 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 11 May 2009 08:15:00 +0000 (10:15 +0200)
This fixes the build if gdk-pixbuf is found but gtk isn't

tests/check/Makefile.am

index 87cf69d..88e8c16 100644 (file)
@@ -163,9 +163,9 @@ elements_videocrop_CFLAGS = $(GST_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS)
 # FIXME: configure should check for gdk-pixbuf not gtk
 # only need video.h header, not the lib
 elements_gdkpixbufsink_CFLAGS = \
-       $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) $(GTK_CFLAGS)
+       $(GST_PLUGINS_BASE_CFLAGS) $(CFLAGS) $(AM_CFLAGS) $(GDK_PIXBUF_CFLAGS)
 elements_gdkpixbufsink_LDADD = \
-       $(LDADD) $(GTK_LIBS)
+       $(LDADD) $(GDK_PIXBUF_LIBS)
 
 
 pipelines_wavpack_LDADD = $(LDADD) $(GST_BASE_LIBS)