summaryrefslogtreecommitdiffstats
path: root/gst/bayer/Makefile.am
diff options
context:
space:
mode:
Diffstat (limited to 'gst/bayer/Makefile.am')
-rw-r--r--gst/bayer/Makefile.am6
1 files changed, 4 insertions, 2 deletions
diff --git a/gst/bayer/Makefile.am b/gst/bayer/Makefile.am
index b4001502..4f178406 100644
--- a/gst/bayer/Makefile.am
+++ b/gst/bayer/Makefile.am
@@ -1,7 +1,9 @@
plugin_LTLIBRARIES = libgstbayer.la
libgstbayer_la_SOURCES = gstbayer.c gstbayer2rgb.c
-libgstbayer_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) $(GST_CFLAGS)
-libgstbayer_la_LIBADD = $(GST_BASE_LIBS)
+libgstbayer_la_CFLAGS = $(GST_PLUGINS_BASE_CFLAGS) $(GST_BASE_CFLAGS) \
+ $(GST_CFLAGS)
+libgstbayer_la_LIBADD = $(GST_PLUGINS_BASE_LIBS) -lgstvideo-$(GST_MAJORMINOR) \
+ $(GST_BASE_LIBS)
libgstbayer_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)