Commit 2db47c0a authored by Víctor Manuel Jáquez Leal's avatar Víctor Manuel Jáquez Leal Committed by Gwenole Beauchesne

build: link 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. default avatarGwenole Beauchesne <>
parent 8cce65c6
......@@ -131,6 +131,12 @@ GLIB_VERSION_REQUIRED=glib_version
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"])])
dnl ---------------------------------------------------------------------------
dnl -- GStreamer --
dnl ---------------------------------------------------------------------------
......@@ -327,6 +327,7 @@ libgstvaapi_glx_@GST_API_VERSION@_la_LIBADD = \
$(GL_LIBS) \
libgstvaapi-x11-$(GST_API_VERSION).la \
libgstvaapi_glx_@GST_API_VERSION@_la_LDFLAGS = \
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment