diff --git a/acinclude.m4 b/acinclude.m4 index 6c31ed823..89ff6643a 100644 --- a/acinclude.m4 +++ b/acinclude.m4 @@ -110,7 +110,7 @@ AC_DEFUN([MS_CHECK_VIDEO],[ if test x$avcodec_found = xno ; then AC_MSG_WARN([Could not find libavcodec (from ffmpeg) headers and library.]) else - FFMPEG_LIBS="$FFMPEG_LIBS -lavutil" + FFMPEG_LIBS="-lavutil $FFMPEG_LIBS" fi