[vlc-commits] configure: fix -ldl detection

Rémi Denis-Courmont git at videolan.org
Fri Feb 12 22:10:39 CET 2016


vlc/vlc-2.2 | branch: master | Rémi Denis-Courmont <remi at remlab.net> | Thu Oct  2 20:43:41 2014 +0300| [0481ce1293ba1757485d8eca93d602efb6653715] | committer: Rémi Denis-Courmont

configure: fix -ldl detection

(cherry picked from commit 53779b3cbab139a53c4ede9f3b16a122bd79c0a4)
(cherry picked from commit cf33018ec8a5ae02c3575382262392077d866acc)

> http://git.videolan.org/gitweb.cgi/vlc/vlc-2.2.git/?a=commit;h=0481ce1293ba1757485d8eca93d602efb6653715
---

 configure.ac |    6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/configure.ac b/configure.ac
index 517cdbd..bb5d1dd 100644
--- a/configure.ac
+++ b/configure.ac
@@ -694,9 +694,9 @@ dnl Check for dynamic plugins
 LIBDL=""
 have_dynamic_objects="no"
 VLC_SAVE_FLAGS
-AC_SEARCH_LIBS(dlopen, [dl svld], [
-  AS_IF([test "$ac_cv_search_dlopen" != "none required"], [
-    LIBDL="$ac_cv_search_dlopen"
+AC_SEARCH_LIBS(dlsym, [dl svld], [
+  AS_IF([test "$ac_cv_search_dlsym" != "none required"], [
+    LIBDL="$ac_cv_search_dlsym"
   ])
   have_dynamic_objects="yes"
 ])



More information about the vlc-commits mailing list