mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-24 02:31:03 +00:00
build: link libgstvaapi-glx-1.0.so against libdl.
Ensure libgstvaapi-glx*.so builds against libdl since dlsym() is used to resolve glXGetProcAddress() from GLX libraries. This fix builds on Fedora 17. https://bugzilla.gnome.org/show_bug.cgi?id=698046 Signed-off-by: Gwenole Beauchesne <gwenole.beauchesne@intel.com>
This commit is contained in:
parent
8cce65c6f1
commit
2db47c0ade
2 changed files with 7 additions and 0 deletions
|
@ -131,6 +131,12 @@ GLIB_VERSION_REQUIRED=glib_version
|
|||
PKG_CHECK_MODULES([GLIB], [glib-2.0 >= $GLIB_VERSION_REQUIRED])
|
||||
AC_SUBST(GLIB_VERSION_REQUIRED)
|
||||
|
||||
dnl Check to see if dlopen is in default libraries (like Solaris, which
|
||||
dnl has it in libc), or if libdl is needed to get it.
|
||||
AC_CHECK_FUNC([dlopen], [], [
|
||||
AC_CHECK_LIB([dl], [dlopen], [DLOPEN_LIBS="-ldl"])])
|
||||
AC_SUBST([DLOPEN_LIBS])
|
||||
|
||||
dnl ---------------------------------------------------------------------------
|
||||
dnl -- GStreamer --
|
||||
dnl ---------------------------------------------------------------------------
|
||||
|
|
|
@ -327,6 +327,7 @@ libgstvaapi_glx_@GST_API_VERSION@_la_LIBADD = \
|
|||
$(GL_LIBS) \
|
||||
$(LIBVA_GLX_LIBS) \
|
||||
libgstvaapi-x11-$(GST_API_VERSION).la \
|
||||
$(DLOPEN_LIBS) \
|
||||
$(NULL)
|
||||
|
||||
libgstvaapi_glx_@GST_API_VERSION@_la_LDFLAGS = \
|
||||
|
|
Loading…
Reference in a new issue