Commit 97b5c154 authored by Gildas Bazin's avatar Gildas Bazin

* configure.ac: libpostproc detection was more broken than I thought.

parent 9bc15cda
...@@ -2610,7 +2610,8 @@ dnl Those options have to be here because the .pc can be bogus for ffmpeg previo ...@@ -2610,7 +2610,8 @@ dnl Those options have to be here because the .pc can be bogus for ffmpeg previo
if test -f "${real_ffmpeg_tree}/libavcodec/libpostproc/libpostproc.a"; then if test -f "${real_ffmpeg_tree}/libavcodec/libpostproc/libpostproc.a"; then
VLC_ADD_LDFLAGS([ffmpeg],[-L${real_ffmpeg_tree}/libavcodec/libpostproc ${real_ffmpeg_tree}/libavcodec/libpostproc/libpostproc.a]) VLC_ADD_LDFLAGS([ffmpeg],[-L${real_ffmpeg_tree}/libavcodec/libpostproc ${real_ffmpeg_tree}/libavcodec/libpostproc/libpostproc.a])
elif test -f "${real_ffmpeg_tree}/libpostproc/libpostproc.a"; then elif test -f "${real_ffmpeg_tree}/libpostproc/libpostproc.a"; then
VLC_ADD_LDFLAGS([ffmpeg],[-L${real_ffmpeg_tree}/libavcodec/libpostproc ${real_ffmpeg_tree}/libavcodec/libpostproc.a]) VLC_ADD_LDFLAGS([ffmpeg],[-L${real_ffmpeg_tree}/libpostproc ${real_ffmpeg_tree}/libpostproc/libpostproc.a])
VLC_ADD_CPPFLAGS([ffmpeg],[-I${real_ffmpeg_tree}])
else else
dnl The given libavcodec wasn't built with --enable-pp dnl The given libavcodec wasn't built with --enable-pp
AC_MSG_RESULT(no) AC_MSG_RESULT(no)
......
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