summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--ext/ffmpeg/Makefile.am5
1 files changed, 4 insertions, 1 deletions
diff --git a/ext/ffmpeg/Makefile.am b/ext/ffmpeg/Makefile.am
index 1efded9..b85feaa 100644
--- a/ext/ffmpeg/Makefile.am
+++ b/ext/ffmpeg/Makefile.am
@@ -14,9 +14,12 @@ libgstffmpeg_la_SOURCES = gstffmpeg.c \
libgstffmpeg_la_CFLAGS = $(GST_CFLAGS) \
-I $(top_builddir)/gst-libs/ext/ffmpeg/ffmpeg/libavcodec \
-I $(top_builddir)/gst-libs/ext/ffmpeg/ffmpeg/libavformat
+
+# mov.c uses uncompress so we link in lz
libgstffmpeg_la_LIBADD = \
$(top_builddir)/gst-libs/ext/ffmpeg/ffmpeg/libavcodec/libavcodec.a \
- $(top_builddir)/gst-libs/ext/ffmpeg/ffmpeg/libavformat/libavformat.a
+ $(top_builddir)/gst-libs/ext/ffmpeg/ffmpeg/libavformat/libavformat.a \
+ -lz
libgstffmpeg_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)