faceoverlay: Add gst-plugins-base CFLAGS and LIBS to fix compilation
authorSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 30 May 2011 10:27:37 +0000 (12:27 +0200)
committerSebastian Dröge <sebastian.droege@collabora.co.uk>
Mon, 30 May 2011 10:27:37 +0000 (12:27 +0200)
gst/faceoverlay/Makefile.am

index a5c883c..30b780c 100644 (file)
@@ -4,8 +4,8 @@ plugin_LTLIBRARIES = libgstfaceoverlay.la
 libgstfaceoverlay_la_SOURCES = gstfaceoverlay.c
 
 # compiler and linker flags used to compile this plugin, set in configure.ac
-libgstfaceoverlay_la_CFLAGS = $(GST_CFLAGS)
-libgstfaceoverlay_la_LIBADD = $(GST_LIBS)
+libgstfaceoverlay_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_CFLAGS)
+libgstfaceoverlay_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-@GST_MAJORMINOR@ $(GST_LIBS)
 libgstfaceoverlay_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
 libgstfaceoverlay_la_LIBTOOLFLAGS = --tag=disable-static