png: Link with libgstbase for GstByteReader and GstAdapter
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 7 Jun 2013 13:38:25 +0000 (15:38 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Fri, 7 Jun 2013 13:38:25 +0000 (15:38 +0200)
ext/libpng/Makefile.am

index 7f80d86..712df09 100644 (file)
@@ -1,9 +1,9 @@
 plugin_LTLIBRARIES = libgstpng.la
 
 libgstpng_la_SOURCES = gstpng.c gstpngenc.c gstpngdec.c
-libgstpng_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS) $(LIBPNG_CFLAGS)
+libgstpng_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(LIBPNG_CFLAGS)
 libgstpng_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_API_VERSION@ \
-       $(GST_LIBS) $(LIBPNG_LIBS)
+       $(GST_BASE_LIBS) $(GST_LIBS) $(LIBPNG_LIBS)
 libgstpng_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
 libgstpng_la_LIBTOOLFLAGS = $(GST_PLUGIN_LIBTOOLFLAGS)