From: Gildas Bazin Date: Wed, 7 Jun 2006 22:02:16 +0000 (+0000) Subject: * configure.ac: libpostproc detection was more broken than I thought. X-Git-Tag: 0.9.0-test0~11048 X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=97b5c1546269c39f24e9a7619d865d99567ba0e9;p=vlc * configure.ac: libpostproc detection was more broken than I thought. --- diff --git a/configure.ac b/configure.ac index fcf4d3ab62..ab48b639ea 100644 --- a/configure.ac +++ b/configure.ac @@ -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 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 - 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 dnl The given libavcodec wasn't built with --enable-pp AC_MSG_RESULT(no)