summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2015-09-15 16:53:31 +0200
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2015-09-22 13:42:27 +0200
commit3bdc796992d1564b596ed69dbb408acc0bf82494 (patch)
treecbc1fef452077fc8cd4cadc53248f682cc60b9a3
parent20a8be7f68e1edb14cf0fe943cc670710b0d7da6 (diff)
downloadgst-vaapi-3bdc796992d1564b596ed69dbb408acc0bf82494.tar.gz
build: link libgstvaapi_parse against codec parser
GST_CODEC_PARSER_* variables are defined if builtin codec parsers are disabled when running configure. Right now, libgstcodecparsers links only to libgstvaapi, but libgstvaapi_parse need it if builtin codec parsers are disabled. This patch adds GST_CODEC_PARSER_* variables to libgstvaapi_parse compilation. If builtin codec parsers are enable, this variable is null, so it should work using libgstvaapi, as normal. Signed-off-by: Víctor Manuel Jáquez Leal <victorx.jaquez@intel.com> https://bugzilla.gnome.org/show_bug.cgi?id=754845
-rw-r--r--gst/vaapi/Makefile.am8
1 files changed, 6 insertions, 2 deletions
diff --git a/gst/vaapi/Makefile.am b/gst/vaapi/Makefile.am
index 1f7135b7..b0664bf8 100644
--- a/gst/vaapi/Makefile.am
+++ b/gst/vaapi/Makefile.am
@@ -212,14 +212,18 @@ libgstvaapi_parse_la_CFLAGS = \
$(GST_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_PLUGINS_BASE_CFLAGS) \
- $(GST_VIDEO_CFLAGS)
+ $(GST_VIDEO_CFLAGS) \
+ $(GST_CODEC_PARSERS_CFLAGS) \
+ $(NULL)
libgstvaapi_parse_la_LIBADD = \
$(top_builddir)/gst-libs/gst/codecparsers/libgstvaapi-codecparsers.la \
$(GST_LIBS) \
$(GST_BASE_LIBS) \
$(GST_PLUGINS_BASE_LIBS) \
- $(GST_VIDEO_LIBS) -lgstpbutils-$(GST_PKG_VERSION)
+ $(GST_VIDEO_LIBS) -lgstpbutils-$(GST_PKG_VERSION) \
+ $(GST_CODEC_PARSERS_LIBS) \
+ $(NULL)
libgstvaapi_parse_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstvaapi_parse_la_LIBTOOLFLAGS = --tag=disable-static