configure: really fix -ldl lookup
authorRémi Denis-Courmont <remi@remlab.net>
Thu, 2 Oct 2014 17:56:26 +0000 (20:56 +0300)
committerRémi Denis-Courmont <remi@remlab.net>
Thu, 2 Oct 2014 17:57:36 +0000 (20:57 +0300)
configure.ac

index d624ea4..3f53186 100644 (file)
@@ -702,8 +702,8 @@ LIBDL=""
 have_dynamic_objects="no"
 VLC_SAVE_FLAGS
 AC_SEARCH_LIBS(dlsym, [dl svld], [
-  AS_IF([test "$ac_cv_search_dlopen" != "none required"], [
-    LIBDL="$ac_cv_search_dlopen"
+  AS_IF([test "$ac_cv_search_dlsym" != "none required"], [
+    LIBDL="$ac_cv_search_dlsym"
   ])
   have_dynamic_objects="yes"
 ])