Commit a89423a8 authored by Derk-Jan Hartman's avatar Derk-Jan Hartman

* 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],
[CFLAGS="${CFLAGS_save} -bundle -undefined error -lcc_dynamic"
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 -lcc_dynamic])
VLC_ADD_LDFLAGS([plugin],[-bundle -undefined error])
AC_CHECK_LIB(cc_dynamic, main,[
VLC_ADD_LDFLAGS([plugin],[-lcc_dynamic])
])
fi
dnl Check for standard plugin linking flags
......
Markdown is supported
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