Commit a89423a8 authored by hartman's avatar hartman
Browse files

* Fix vlc compilation on gcc-4.0 (only one patch how easy was that)

parent b8d14234
...@@ -869,7 +869,10 @@ AC_CACHE_CHECK([if \$CC accepts -bundle -undefined error -lcc_dynamic], ...@@ -869,7 +869,10 @@ AC_CACHE_CHECK([if \$CC accepts -bundle -undefined error -lcc_dynamic],
[CFLAGS="${CFLAGS_save} -bundle -undefined error -lcc_dynamic" [CFLAGS="${CFLAGS_save} -bundle -undefined error -lcc_dynamic"
AC_TRY_COMPILE([],,ac_cv_ld_darwin=yes, ac_cv_ld_darwin=no)]) AC_TRY_COMPILE([],,ac_cv_ld_darwin=yes, ac_cv_ld_darwin=no)])
if test "${ac_cv_ld_darwin}" != "no"; then if test "${ac_cv_ld_darwin}" != "no"; then
VLC_ADD_LDFLAGS([plugin],[-bundle -undefined error -lcc_dynamic]) VLC_ADD_LDFLAGS([plugin],[-bundle -undefined error])
AC_CHECK_LIB(cc_dynamic, main,[
fi fi
dnl Check for standard plugin linking flags dnl Check for standard plugin linking flags
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment