]> git.sesse.net Git - vlc/blobdiff - configure.ac
macosx: prepare the switch from dyld to 'Dynamic Loader Compatibility Functions'...
[vlc] / configure.ac
index 69a1831b0ddc75745f3cb5ce24ae40b47e81505c..807f12867847dd8cb32373dd4383e977611d36d9 100644 (file)
@@ -791,7 +791,7 @@ if test "${ac_cv_have_plugins}" = "no"; then
 fi
 
 # Only test for dlopen() if the others didn't work
-if test "${ac_cv_have_plugins}" = "no"; then
+if test "${ac_cv_have_plugins}" = "no" -o "${SYS}" = "darwin"; then
   AC_CHECK_HEADERS(dlfcn.h sys/dl.h)
   ac_cv_my_have_dlopen=no
   AC_CHECK_FUNC(dlopen,