mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-19 05:45:58 +00:00
Properly link against gstreamer-video as it is now needed
This commit is contained in:
parent
123ecb57c1
commit
74b86f7793
2 changed files with 10 additions and 2 deletions
|
@ -140,6 +140,14 @@ fi
|
|||
AC_SUBST(GST_PBUTILS_LIBS)
|
||||
AC_SUBST(GST_PBUTILS_CFLAGS)
|
||||
|
||||
dnl check for gstreamer-video
|
||||
PKG_CHECK_MODULES(GST_VIDEO, gstreamer-video-$GST_API_VERSION, HAVE_GST_VIDEO="yes", HAVE_GST_VIDEO="no")
|
||||
if test "x$HAVE_GST_VIDEO" != "xyes"; then
|
||||
AC_ERROR([gst-video is required])
|
||||
fi
|
||||
AC_SUBST(GST_VIDEO_LIBS)
|
||||
AC_SUBST(GST_VIDEO_CFLAGS)
|
||||
|
||||
dnl needed for scenarios definition files
|
||||
GST_PREFIX="`$PKG_CONFIG --variable=prefix gstreamer-$GST_API_VERSION`"
|
||||
AC_SUBST(GST_PREFIX)
|
||||
|
|
|
@ -4,8 +4,8 @@ bin_PROGRAMS = \
|
|||
gst-validate-transcoding-@GST_API_VERSION@ \
|
||||
gst-validate-media-check-@GST_API_VERSION@
|
||||
|
||||
AM_CFLAGS = $(GST_ALL_CFLAGS) $(GST_PBUTILS_CFLAGS)
|
||||
LDADD = $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la $(GST_PBUTILS_LIBS) $(GST_LIBS)
|
||||
AM_CFLAGS = $(GST_ALL_CFLAGS) $(GST_PBUTILS_CFLAGS) $(GST_VIDEO_CFLAGS)
|
||||
LDADD = $(top_builddir)/gst/validate/libgstvalidate-@GST_API_VERSION@.la $(GST_PBUTILS_LIBS) $(GST_LIBS) $(GST_VIDEO_LIBS)
|
||||
|
||||
gst_validate_@GST_API_VERSION@_SOURCES = gst-validate.c
|
||||
gst_validate_transcoding_@GST_API_VERSION@_SOURCES = gst-validate-transcoding.c
|
||||
|
|
Loading…
Reference in a new issue