build: clean up the dlopen usage

This commit is contained in:
Víctor Manuel Jáquez Leal 2016-09-02 16:42:45 +02:00
parent ef3ee8b7bb
commit fb95a79818
2 changed files with 2 additions and 3 deletions

View file

@ -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])

View file

@ -471,7 +471,6 @@ libgstvaapi_egl_la_LIBADD = \
$(GST_BASE_LIBS) \
$(GST_VIDEO_LIBS) \
$(EGL_LIBS) \
$(DLOPEN_LIBS) \
$(NULL)
libgstvaapi_egl_la_LDFLAGS = \