Mercurial > mplayer.hg
changeset 32269:1aaf8691e700
Add CFLAGS/LDFLAGS for all FFmpeg libraries when using pkg-config in configure.
author | diego |
---|---|
date | Sat, 25 Sep 2010 21:00:34 +0000 |
parents | ab9be4f6a964 |
children | a9d7da02ad32 |
files | configure |
diffstat | 1 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/configure Sat Sep 25 20:14:35 2010 +0000 +++ b/configure Sat Sep 25 21:00:34 2010 +0000 @@ -7030,8 +7030,8 @@ elif test "$ffmpeg_so" = auto ; then ffmpeg_so=no if $_pkg_config --exists libavcore ; then - inc_ffmpeg=$($_pkg_config --cflags libavcore) - _ld_tmp=$($_pkg_config --libs libavcore) + inc_ffmpeg=$($_pkg_config --cflags libpostproc libswscale libavformat libavcodec libavutil libavcore) + _ld_tmp=$($_pkg_config --libs libpostproc libswscale libavformat libavcodec libavutil libavcore) header_check libavcore/avcore.h $inc_ffmpeg $_ld_tmp && extra_ldflags="$extra_ldflags $_ld_tmp" && ffmpeg_so=yes && ffmpeg=yes elif header_check libavcore/avcore.h -lpostproc -lswscale -lavformat -lavcodec -lavutil -lavcore $_ld_lm ; then