dvdread: link to libgmodule-2.0 since the g_module_* API is used

And the gmodule lib has been moved into the Requires.private
section of the pkg-config file in core.
This commit is contained in:
Tim-Philipp Müller 2012-11-30 20:09:03 +00:00
parent 1ab41f83b7
commit 2b814e4191
2 changed files with 6 additions and 2 deletions

View file

@ -167,6 +167,9 @@ AC_SUBST(GLIB_PREFIX)
AC_SUBST(GST_PREFIX)
AC_SUBST(GSTPB_PREFIX)
dnl Needed by plugins that use g_module_*() API
PKG_CHECK_MODULES(GMODULE_NO_EXPORT, gmodule-no-export-2.0)
dnl *** set variables based on configure arguments ***
dnl set license and copyright notice

View file

@ -1,8 +1,9 @@
plugin_LTLIBRARIES = libgstdvdread.la
libgstdvdread_la_SOURCES = dvdreadsrc.c
libgstdvdread_la_CFLAGS = $(GST_CFLAGS) $(GST_BASE_CFLAGS) $(DVDREAD_CFLAGS)
libgstdvdread_la_LIBADD = $(GST_BASE_LIBS) $(DVDREAD_LIBS)
libgstdvdread_la_CFLAGS = $(GST_BASE_CFLAGS) $(GST_CFLAGS) $(DVDREAD_CFLAGS)
libgstdvdread_la_LIBADD = $(GST_BASE_LIBS) $(GST_LIBS) \
$(GMODULE_NO_EXPORT_LIBS) $(DVDREAD_LIBS)
libgstdvdread_la_LDFLAGS = $(GST_PLUGIN_LDFLAGS)
libgstdvdread_la_LIBTOOLFLAGS = --tag=disable-static