Index: configure.ac =================================================================== --- configure.ac (revision 18965) +++ configure.ac (working copy) @@ -1043,12 +1043,12 @@ ]) dnl Check for Darwin plugin linking flags -AC_CACHE_CHECK([if \$CC accepts -bundle -undefined error], +AC_CACHE_CHECK([if \$CC accepts -bundle -undefined dynamic_lookup], [ac_cv_ld_darwin], - [CFLAGS="${CFLAGS_save} -bundle -undefined error" + [CFLAGS="${CFLAGS_save} -bundle -undefined dynamic_lookup" AC_TRY_COMPILE([],,ac_cv_ld_darwin=yes, ac_cv_ld_darwin=no)]) if test "${ac_cv_ld_darwin}" != "no"; then - VLC_ADD_LDFLAGS([plugin],[-bundle -undefined error]) + VLC_ADD_LDFLAGS([plugin],[-bundle -undefined dynamic_lookup]) fi dnl Check for standard plugin linking flags