build: Add gmodule dependency for libgstvaapi_egl

https://bugzilla.gnome.org/show_bug.cgi?id=756259
This commit is contained in:
Sreerenj Balachandran 2015-11-27 12:29:11 +02:00 committed by Víctor Manuel Jáquez Leal
parent 52eaafcd6c
commit d7bd0a4c10
2 changed files with 10 additions and 0 deletions

View file

@ -24,6 +24,9 @@ m4_define([gst_vaapi_lt_age], [0])
# glib version number
m4_define([glib_version], [2.32])
# gmodule version number
m4_define([gmodule_version], [2.32])
# gstreamer version number
m4_define([gst_api_version], [autodetect])
m4_define([gst12_version], [1.1.90])
@ -709,6 +712,11 @@ if test "$enable_egl" = "yes" -a $GLES_VERSION_MASK -ne 0; then
AC_CHECK_LIB([EGL], [eglGetDisplay], [:], [USE_EGL=0])
CPPFLAGS="$saved_CPPFLAGS"
LIBS="$saved_LIBS"
dnl Check for GMODULE
GMODULE_VERSION_REQUIRED=gmodule_version
PKG_CHECK_MODULES([GMODULE], [gmodule-2.0 >= $GMODULE_VERSION_REQUIRED])
AC_SUBST(GMODULE_VERSION_REQUIRED)
fi
dnl Check for Wayland

View file

@ -501,6 +501,7 @@ libgstvaapi_egl_@GST_API_VERSION@_la_CFLAGS = \
-DGST_USE_UNSTABLE_API \
-I$(top_srcdir)/gst-libs \
$(GLIB_CFLAGS) \
$(GMODULE_CFLAGS) \
$(GST_BASE_CFLAGS) \
$(GST_VIDEO_CFLAGS) \
$(LIBVA_CFLAGS) \
@ -509,6 +510,7 @@ libgstvaapi_egl_@GST_API_VERSION@_la_CFLAGS = \
libgstvaapi_egl_@GST_API_VERSION@_la_LIBADD = \
$(GLIB_LIBS) \
$(GMODULE_LIBS) \
$(GST_LIBS) \
$(GST_BASE_LIBS) \
$(GST_VIDEO_LIBS) \