validate: Fix build on some custom platforms

We need to explicitely pass GLIB_LIBS for GModule as it seems not to be included by
GST_ALL_LIBS and we need LIBM
This commit is contained in:
Arnaud Vrac 2014-07-21 19:09:24 +02:00 committed by Thibault Saunier
parent 24046a6168
commit e1b3ec2ad7
2 changed files with 6 additions and 1 deletions

View file

@ -116,6 +116,10 @@ dnl *** checks for library functions ***
dnl *** checks for dependancy libraries ***
dnl check for libm
LT_LIB_M
AC_SUBST(LIBM)
dnl GLib is required
GLIB_REQ=2.36.0
AC_SUBST([GLIB_REQ])

View file

@ -46,7 +46,8 @@ libgstvalidate_@GST_API_VERSION@_la_LDFLAGS = $(GST_LIB_LDFLAGS) $(GST_ALL_LDFLA
$(GST_LT_LDFLAGS) $(GIO_LDFLAGS) $(GST_PBUTILS_LDFAGS)
libgstvalidate_@GST_API_VERSION@_la_LIBADD = \
$(GST_PLUGINS_BASE_LIBS) $(GST_BASE_LIBS) \
$(GST_ALL_LIBS) $(GIO_LIBS) $(GST_PBUTILS_LIBS)
$(GST_ALL_LIBS) $(GIO_LIBS) $(GST_PBUTILS_LIBS) \
$(GLIB_LIBS) $(LIBM)
libgstvalidate_@GST_API_VERSION@includedir = $(includedir)/gstreamer-@GST_API_VERSION@/gst/validate