From fb95a798183c2a962383ec60bc3c33fbd92c7f17 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?V=C3=ADctor=20Manuel=20J=C3=A1quez=20Leal?= Date: Fri, 2 Sep 2016 16:42:45 +0200 Subject: [PATCH] build: clean up the dlopen usage --- configure.ac | 4 ++-- gst-libs/gst/vaapi/Makefile.am | 1 - 2 files changed, 2 insertions(+), 3 deletions(-) diff --git a/configure.ac b/configure.ac index 6a4a913dbe..d76b585ca7 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 43a7772ab1..f606bbb5c4 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 = \