[FFmpeg-cvslog] configure: Add missing libavutil inter-library dependencies to .pc files.

Reinhard Tartler git at videolan.org
Mon Apr 25 02:32:48 CEST 2011


ffmpeg | branch: master | Reinhard Tartler <siretart at tauware.de> | Sun Apr 24 11:39:15 2011 +0200| [e9251bb5555f6daa6be10437f97579d85d6fdc89] | committer: Diego Biurrun

configure: Add missing libavutil inter-library dependencies to .pc files.

This unbreaks static compilation when using pkg-config.
Based on an mplayer2 patch by Uoti Urpala <uau at mplayer2.org>

Signed-off-by: Diego Biurrun <diego at biurrun.de>

> http://git.videolan.org/gitweb.cgi/ffmpeg.git/?a=commit;h=e9251bb5555f6daa6be10437f97579d85d6fdc89
---

 configure |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/configure b/configure
index c01c551..6dd00dc 100755
--- a/configure
+++ b/configure
@@ -3428,9 +3428,9 @@ EOF
 }
 
 pkgconfig_generate libavutil "Libav utility library" "$LIBAVUTIL_VERSION"
-pkgconfig_generate libavcodec "Libav codec library" "$LIBAVCODEC_VERSION" "$extralibs"
+pkgconfig_generate libavcodec "Libav codec library" "$LIBAVCODEC_VERSION" "$extralibs" "libavutil = $LIBAVUTIL_VERSION"
 pkgconfig_generate libavformat "Libav container format library" "$LIBAVFORMAT_VERSION" "$extralibs" "libavcodec = $LIBAVCODEC_VERSION"
 pkgconfig_generate libavdevice "Libav device handling library" "$LIBAVDEVICE_VERSION" "$extralibs" "libavformat = $LIBAVFORMAT_VERSION"
 pkgconfig_generate libavfilter "Libav video filtering library" "$LIBAVFILTER_VERSION" "$extralibs"
-pkgconfig_generate libpostproc "Libav post processing library" "$LIBPOSTPROC_VERSION"
+pkgconfig_generate libpostproc "Libav post processing library" "$LIBPOSTPROC_VERSION" "" "libavutil = $LIBAVUTIL_VERSION"
 pkgconfig_generate libswscale "Libav image rescaling library" "$LIBSWSCALE_VERSION" "" "libavutil = $LIBAVUTIL_VERSION"



More information about the ffmpeg-cvslog mailing list