yadif: fix build in uninstalled setup
authorTim-Philipp Müller <tim@centricular.net>
Mon, 11 Feb 2013 22:40:35 +0000 (22:40 +0000)
committerTim-Philipp Müller <tim@centricular.net>
Mon, 11 Feb 2013 22:40:35 +0000 (22:40 +0000)
gst/yadif/Makefile.am

index c01afc72721eb019cca2cc72c967c6bccd215a37..1df86197c441b8c5eb95dbebb9bacf9e803104e2 100644 (file)
@@ -1,8 +1,10 @@
 plugin_LTLIBRARIES = libgstyadif.la
 
 libgstyadif_la_SOURCES = gstyadif.c gstyadif.h vf_yadif.c yadif.c
-libgstyadif_la_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS)
-libgstyadif_la_LIBADD = -lgstvideo-1.0 $(GST_BASE_LIBS) $(GST_LIBS)
+libgstyadif_la_CFLAGS = $(GST_PLUGINS_BAD_CFLAGS) $(GST_PLUGINS_BASE_CFLAGS) \
+       $(GST_BASE_CFLAGS) $(GST_CFLAGS)
+libgstyadif_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-1.0 \
+       $(GST_BASE_LIBS) $(GST_LIBS)
 libgstyadif_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
 libgstyadif_la_LIBTOOLFLAGS = --tag=disable-static