summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-09-02 16:42:45 +0200
committerVíctor Manuel Jáquez Leal <victorx.jaquez@intel.com>2016-10-19 16:14:34 +0200
commitfb95a798183c2a962383ec60bc3c33fbd92c7f17 (patch)
treea042d31f140056a3c9ecea971bc5b608f4832a9e
parentef3ee8b7bbff58c59fae8e940739a2fca678e09c (diff)
build: clean up the dlopen usage
-rw-r--r--configure.ac4
-rw-r--r--gst-libs/gst/vaapi/Makefile.am1
2 files changed, 2 insertions, 3 deletions
diff --git a/configure.ac b/configure.ac
index 6a4a913d..d76b585c 100644
--- a/configure.ac
+++ b/configure.ac
@@ -183,8 +183,8 @@ dnl *** checks for libraries ***
dnl check for libm, for sin() etc.
AC_CHECK_LIB([m], [tan])
-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.
+dnl Check to see if dlopen/dlsym is in default libraries (like
+dnl Solaris, which 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])
diff --git a/gst-libs/gst/vaapi/Makefile.am b/gst-libs/gst/vaapi/Makefile.am
index 43a7772a..f606bbb5 100644
--- a/gst-libs/gst/vaapi/Makefile.am
+++ b/gst-libs/gst/vaapi/Makefile.am
@@ -471,7 +471,6 @@ libgstvaapi_egl_la_LIBADD = \
$(GST_BASE_LIBS) \
$(GST_VIDEO_LIBS) \
$(EGL_LIBS) \
- $(DLOPEN_LIBS) \
$(NULL)
libgstvaapi_egl_la_LDFLAGS = \